Commit e2a076ca by Dudás Ádám

vm: fix erroneous test

parent 213d4de9
......@@ -39,8 +39,8 @@ class TemplateTestCase(TestCase):
class InstanceTestCase(TestCase):
def test_is_running(self):
inst = Mock(state='RUNNING')
assert Instance.is_running.getter(inst)
inst = MagicMock(status='RUNNING')
self.assertTrue(Instance.is_running.fget(inst))
def test_mon_stopped_while_activity_running(self):
node = Mock()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment