summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Koelker <jason@koelker.net>2011-09-15 13:47:26 -0500
committerJason Koelker <jason@koelker.net>2011-09-15 13:47:26 -0500
commit5a264e9844eba5ef0c21ae47f300f5c805eda71d (patch)
treebac17ca715bf7e1cb85d5c8c6116a1b7b0bb2699
parentbe156e9f2ac58706c7fd69df06cbd5259ec20675 (diff)
fix test
-rw-r--r--nova/tests/test_db_api.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/nova/tests/test_db_api.py b/nova/tests/test_db_api.py
index c791eec27..5ebab9cc8 100644
--- a/nova/tests/test_db_api.py
+++ b/nova/tests/test_db_api.py
@@ -91,9 +91,7 @@ class DbApiTestCase(test.TestCase):
inst2 = db.instance_create(self.context, args2)
db.instance_destroy(self.context, inst1.id)
result = db.instance_get_all_by_filters(self.context.elevated(), {})
- print str(dict(result[0]))
- print str(dict(result[1]))
self.assertEqual(2, len(result))
- self.assertEqual(result[0].id, inst2.id)
- self.assertEqual(result[1].id, inst1.id)
- self.assertTrue(result[1].deleted)
+ self.assertEqual(result[0].id, inst1.id)
+ self.assertEqual(result[1].id, inst2.id)
+ self.assertTrue(result[0].deleted)