소스 검색

Fixed another expected outcome of the test

Yentl Van Tendeloo 9 년 전
부모
커밋
4858bb78d3
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))