Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-usielski committed Nov 22, 2024
1 parent 0201b59 commit c16a06e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
echo ----------- test adb simulator
adb devices
- name: Test with pytest
if: ${{ matrix.python-version != env.PYTHON_COVERAGE }}
if: ${{ (matrix.python-version != env.PYTHON_COVERAGE }) || (matrix.os == 'macos-latest')}
timeout-minutes: 14
run: |
python -m pytest -vvvsss test/
Expand Down
4 changes: 2 additions & 2 deletions test/cmd/unix/test_cmd_sudo.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_sudo_with_wrong_command_parameters(buffer_connection):
cmd_sudo = Sudo(connection=buffer_connection.moler_connection, password="pass",
cmd_class_name="moler.cmd.unix.telnet.Telnet", cmd_params={"login": "login"})
with pytest.raises(TypeError):
cmd_sudo(timeout=0.1)
cmd_sudo(timeout=0.3)


def test_calling_by_command_class(buffer_connection, command_output_and_expected_result):
Expand Down Expand Up @@ -103,7 +103,7 @@ def test_failing_with_timeout(buffer_connection, command_output_and_expected_res
cmd_pwd = Pwd(connection=buffer_connection.moler_connection)
cmd_sudo = Sudo(connection=buffer_connection.moler_connection, password="pass", cmd_object=cmd_pwd)
with pytest.raises(CommandTimeout):
cmd_sudo(timeout=0.1)
cmd_sudo(timeout=0.3)


def test_can_use_timeout_of_embedded_command(buffer_connection, command_output_and_expected_result_timeout):
Expand Down

0 comments on commit c16a06e

Please sign in to comment.