Commit 962dfe09 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

cyclades: Fix broken unittest

parent ecf4ed38
......@@ -53,6 +53,7 @@ class ServerCreationTest(TransactionTestCase):
"flavor": flavor,
"image": {"id": "foo", "backend_id": "foo", "format": "diskdump",
"metadata": "{}"},
"networks": [],
"metadata": {"foo": "bar"},
"personality": [],
}
......@@ -78,7 +79,6 @@ class ServerCreationTest(TransactionTestCase):
vm = models.VirtualMachine.objects.get()
self.assertFalse(vm.deleted)
self.assertEqual(vm.operstate, "ERROR")
self.assertEqual(len(vm.nics.all()), 2)
for nic in vm.nics.all():
self.assertEqual(nic.state, "ERROR")
......
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 to comment