diff --git a/test_tjnetwork.py b/test_tjnetwork.py index 5efecb3..04cd9c8 100644 --- a/test_tjnetwork.py +++ b/test_tjnetwork.py @@ -1210,6 +1210,16 @@ class TestApi: cs = execute_batch_commands(p, cs) assert len(cs.operations) == 2 + cs = ChangeSet() + cs.delete({'type': JUNCTION, 'id': 'j1'}) + cs.delete({'type': JUNCTION, 'id': 'j2'}) + + cs = execute_batch_commands(p, cs) + assert len(cs.operations) == 2 + + cs = execute_undo(p) + assert len(cs.operations) == 1 + self.leave(p)