Explorar el Código

Add test for whether an activity is not a folder

Yentl Van Tendeloo hace 7 años
padre
commit
816a514ed8
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      unit/test_all.py

+ 7 - 1
unit/test_all.py

@@ -4752,6 +4752,13 @@ class TestModelverse(unittest.TestCase):
         except NotAnActivity:
             pass
 
+        # Try folder
+        try:
+            transformation_signature("users")
+            self.fail()
+        except NotAnActivity:
+            pass
+
     def test_op_process_signature(self):
         # Add simple process
         model_add("users/user/test/a", "formalisms/ProcessModel", """
@@ -4892,7 +4899,6 @@ class TestModelverse(unittest.TestCase):
 
     """
     def test_op_model_render(self):
-    def test_op_process_signature(self):
     def test_op_process_execute(self):
     """