|
@@ -802,6 +802,18 @@ class TestModelverse(unittest.TestCase):
|
|
|
except ReadPermissionDenied:
|
|
|
pass
|
|
|
|
|
|
+ def test_op_read_info(self):
|
|
|
+ # Basic case
|
|
|
+ model_add("users/user/test/a", "formalisms/ProcessModel", """
|
|
|
+ Start start {}
|
|
|
+ Finish finish {}
|
|
|
+ Next nxt (start, finish) {}
|
|
|
+ """)
|
|
|
+
|
|
|
+ assert read_info("users/user/test/a", "start") == ("Start", None)
|
|
|
+ assert read_info("users/user/test/a", "finish") == ("Finish", None)
|
|
|
+ assert read_info("users/user/test/a", "nxt") == ("Next", ("start", "finish"))
|
|
|
+
|
|
|
"""
|
|
|
def test_op_model_render(self):
|
|
|
def test_op_transformation_between(self):
|
|
@@ -824,7 +836,6 @@ class TestModelverse(unittest.TestCase):
|
|
|
def test_op_group_list(self):
|
|
|
def test_op_conformance_delete(self):
|
|
|
def test_op_conformance_add(self):
|
|
|
- def test_op_read_info(self):
|
|
|
def test_op_read_attrs(self):
|
|
|
def test_op_instantiate(self):
|
|
|
def test_op_delete_element(self):
|