Revert the default instance number back to zero
[pyi2ncommon] / test / cnfvar / test_model.py
index bbd2e63..3b2da00 100644 (file)
@@ -167,7 +167,7 @@ class TestModel(unittest.TestCase):
         user_cnf.value = "jane"
         user_cnf.children[1].value = "Jane"
         user_cnf.children.first_with_name("user_group_member_ref").value = "200"
-        user_cnf.add_children(("USER_GROUP_MEMBER_REF", 5))
+        user_cnf.add_children(("USER_GROUP_MEMBER_REF", 5, -1))
 
         # check correct types and equality
         self.assertEqual(user_cnf.instance, 2)