def test_freeze(self): l = actions.PauseAt("r", 5) assert l.freeze({}).spec() == l.spec()
def test_unique_name(): assert not actions.PauseAt(0, "f").unique_name assert actions.DisconnectAt(0).unique_name
def test_spec(self): assert actions.PauseAt("r", 5).spec() == "pr,5" assert actions.PauseAt(0, 5).spec() == "p0,5" assert actions.PauseAt(0, "f").spec() == "p0,f"