19070: Fix tests
[arvados.git] / sdk / cwl / tests / test_copy_deps.py
index 298a6800f8a52950470430597b6fe5172d318624..2b78db8b0b5d7cdb8ddea9453681eaa3f63e6a3d 100644 (file)
@@ -136,7 +136,7 @@ def test_execute():
     finally:
         api.groups().delete(uuid=group["uuid"]).execute()
 
-
-test_create()
-test_update()
-test_execute()
+if __name__ == '__main__':
+    test_create()
+    test_update()
+    test_execute()