Skip to content

Commit

Permalink
Don't run ssh related tests on the system install tests
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
  • Loading branch information
s0undt3ch committed Nov 25, 2023
1 parent e8c26df commit 5ac5176
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 1 addition & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@
IS_WINDOWS = sys.platform.lower().startswith("win")
IS_DARWIN = sys.platform.lower().startswith("darwin")

if IS_WINDOWS:
if IS_WINDOWS or IS_DARWIN:
COVERAGE_FAIL_UNDER_PERCENT = 70
elif IS_DARWIN:
COVERAGE_FAIL_UNDER_PERCENT = 75
else:
COVERAGE_FAIL_UNDER_PERCENT = 80

Expand Down
1 change: 1 addition & 0 deletions tests/integration/factories/daemons/ssh/test_salt_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
pytestmark = [
pytest.mark.skip_on_darwin,
pytest.mark.skip_on_windows,
pytest.mark.skip_on_salt_system_service,
]


Expand Down
6 changes: 6 additions & 0 deletions tests/integration/factories/daemons/sshd/test_sshd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@

import pytest

pytestmark = [
pytest.mark.skip_on_darwin,
pytest.mark.skip_on_windows,
pytest.mark.skip_on_salt_system_service,
]


@pytest.fixture(scope="module")
@pytest.mark.skip_if_binaries_missing("sshd", "ssh-keygen")
Expand Down

0 comments on commit 5ac5176

Please sign in to comment.