Skip to content

Commit

Permalink
nt
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-usielski committed Nov 22, 2024
1 parent 678e893 commit cfb23ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/cmd/unix/test_cmd_nmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_calling_nmap_timeout(buffer_connection, command_output_and_expected_res
nmap_cmd.terminating_timeout = 0
from moler.exceptions import CommandTimeout
with raises(CommandTimeout) as exception:
nmap_cmd(timeout=0.1)
nmap_cmd(timeout=0.5)
assert exception is not None


Expand Down
2 changes: 2 additions & 0 deletions test/device/test_SM_unix_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import pytest
import time
import os
import platform
from moler.util.devices_SM import iterate_over_device_states, get_device
from moler.exceptions import MolerException, DeviceChangeStateFailure
from moler.helpers import copy_dict
Expand Down Expand Up @@ -58,6 +59,7 @@ def test_unix_remote_proxy_pc_device_multiple_prompts(device_name, device_connec
assert "More than 1 prompt match the same line" in str(exception.value)


pytest.mark.skipif('Linux' != platform.system(), reason="Skip for no Linux system.")
@pytest.mark.parametrize("device_name", unix_remotes_proxy_pc)
def test_unix_remote_proxy_pc_device_goto_state_bg(device_name, device_connection, unix_remote_proxy_pc_output):
unix_remote_proxy_pc = get_device(name=device_name, connection=device_connection,
Expand Down

0 comments on commit cfb23ea

Please sign in to comment.