Browse Source

Fixed another test

Yentl Van Tendeloo 5 years ago
parent
commit
60d9020358
1 changed files with 3 additions and 2 deletions
  1. 3 2
      unit/test_all.py

+ 3 - 2
unit/test_all.py

@@ -4577,11 +4577,12 @@ class TestModelverse(unittest.TestCase):
             assert "f" not in model_list("users/user/test")
 
         # Execute activity with non-conforming output models that already exist
+        assert len(element_list_nice("users/user/test/aa")) > 0
         try:
-            transformation_execute_MANUAL("users/user/test/d", {"MODEL_A": "users/user/test/b"}, {"MODEL_B": "users/user/test/c"}, lambda i: i)
+            transformation_execute_MANUAL("users/user/test/d", {"MODEL_A": "users/user/test/b"}, {"MODEL_B": "users/user/test/aa"}, lambda i: i)
             self.fail()
         except TypeMismatch:
-            assert len(element_list_nice("users/user/test/c")) > 0
+            assert len(element_list_nice("users/user/test/aa")) > 0
 
         # Source model is folder
         try: