Skip to content

Commit

Permalink
skip mode setting test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasmhughes committed Jan 1, 2024
1 parent 94f7f29 commit fb9d794
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/returners/test_prometheus_textfile_return.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ def test_requisite_handling(patch_dunders, cache_dir, minion):
assert Path(os.path.join(cache_dir, "prometheus_textfile", "salt.prom")).exists()


@pytest.mark.skip_on_windows(reason="mode setting not available on Windows")
def test_mode_passed_to_set_mode(patch_dunders, cache_dir, job_ret, minion):
mock_set_mode = MagicMock(return_value=True)
prometheus_textfile.__opts__.update({"mode": "0644"})
Expand Down

0 comments on commit fb9d794

Please sign in to comment.