Browse Source

Fix moved line

Enis Afgan 8 năm trước cách đây
mục cha
commit
e11507144c

+ 1 - 1
test/helpers/standard_interface_tests.py

@@ -65,8 +65,8 @@ def check_delete(test, service, obj, perform_delete=False):
         obj.delete()
         obj.delete()
 
 
     objs = service.list()
     objs = service.list()
-    test.assertTrue(
     found_objs = [o for o in objs if o.id == obj.id]
     found_objs = [o for o in objs if o.id == obj.id]
+    test.assertTrue(
         len(found_objs) == 0,
         len(found_objs) == 0,
         "Object %s in service %s should have been deleted but still exists."
         "Object %s in service %s should have been deleted but still exists."
         % (type(obj).__name__, found_objs))
         % (type(obj).__name__, found_objs))