mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Skip some tests on Windows
This commit is contained in:
parent
945137bd10
commit
be3b6cd64b
1 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,7 @@ def test_refresh_modules_async_false():
|
|||
assert ret is False
|
||||
|
||||
|
||||
@pytest.mark.skip_on_windows(reason="making use of /tmp directory")
|
||||
def test_clear_job_cache(salt_call_cli):
|
||||
ret = salt_call_cli.run("--local", "cmd.run", "mkdir -p /tmp/minion_jobs/dummydir")
|
||||
assert ret.returncode == 0
|
||||
|
@ -197,6 +198,7 @@ def test_clear_job_cache(salt_call_cli):
|
|||
assert ret is True
|
||||
|
||||
|
||||
@pytest.mark.skip_on_windows(reason="making use of /tmp directory")
|
||||
@pytest.mark.destructive_test
|
||||
def test_regen_keys(salt_call_cli):
|
||||
ret = salt_call_cli.run("--local", "cmd.run", "mkdir -p /tmp/pki_dir/dummydir")
|
||||
|
|
Loading…
Add table
Reference in a new issue