Explorar o código

Fixed another expected outcome of the test

Yentl Van Tendeloo %!s(int64=9) %!d(string=hai) anos
pai
achega
4858bb78d3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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))