diff --git a/moler/helpers.py b/moler/helpers.py index c8d0c3a2e..5f9315abc 100644 --- a/moler/helpers.py +++ b/moler/helpers.py @@ -584,9 +584,6 @@ def remove_state_from_sm(source_sm: dict, source_transitions: dict, state_to_rem :param state_to_remove: name of state to remove :return: tuple with 2 dicts without state_to_remove, 0 - new state machine, 1 - new transitions """ - from pprint import pformat - print(f"source sm: {pformat(source_sm)}") - print(f"source transitions: {pformat(source_transitions)}") new_sm = copy.deepcopy(source_sm) new_transitions = copy.deepcopy(source_transitions) diff --git a/test/device/test_SM_unix_remote.py b/test/device/test_SM_unix_remote.py index 42f855d57..d8b8fdab2 100644 --- a/test/device/test_SM_unix_remote.py +++ b/test/device/test_SM_unix_remote.py @@ -160,13 +160,16 @@ def test_unix_remote_device_not_connected(device_name): execution += 1 -@pytest.mark.parametrize("devices", [unix_remotes, unix_remotes_proxy_pc]) +@pytest.mark.parametrize("devices", [unix_remotes, unix_remotes_proxy_pc, unix_remotes_real_io]) def test_unix_sm_identity(devices): dev0 = DeviceFactory.get_device(name=devices[0]) dev1 = DeviceFactory.get_device(name=devices[1]) assert dev0._stored_transitions == dev1._stored_transitions - assert dev0._ + assert dev0._state_hops == dev1._state_hops + assert dev0._state_prompts == dev1._state_prompts + assert dev0._configurations == dev1._configurations + assert dev0._newline_chars == dev1._newline_chars @pytest.fixture