瀏覽代碼

Fixed another expected outcome of the test

Yentl Van Tendeloo 9 年之前
父節點
當前提交
82f58ced19
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      integration/test_pn_interface.py

+ 2 - 2
integration/test_pn_interface.py

@@ -206,10 +206,10 @@ class TestPetrinetInterface(unittest.TestCase):
             init + new + loaded + \
                 instantiate_node + prompt + \
                 attr_add + prompt + \
-                list_model([("p1", "Place")]) + prompt + \
+                list_model([("p1", "Place"), ("p1.tokens", "Natural")]) + prompt + \
                 read_node("p1", "Place", [], [("tokens", "Natural", 5)]) + prompt + \
                 instantiate_node + prompt + \
-                list_model([("p1", "Place"), ("t1", "Transition")]) + prompt + \
+                list_model([("p1", "Place"), ("t1", "Transition"), ("p1.tokens", "Natural")]) + prompt + \
                 read_node("t1", "Transition", [], []) + prompt,
             mode))