Explorar el Código

Fix moved line

Enis Afgan hace 9 años
padre
commit
e11507144c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/helpers/standard_interface_tests.py

+ 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))