Fix windows tests

This commit is contained in:
MKLeb 2023-10-16 13:34:41 -04:00 committed by Pedro Algarvio
parent 4c7f477d80
commit 7370733bae
2 changed files with 2 additions and 2 deletions

View file

@ -318,7 +318,7 @@ def test_get_source_relative_no_tpldir(
loader = get_loader(opts=minion_opts, saltenv=saltenv)
with pytest.raises(TemplateNotFound):
loader.get_source(
MagicMock(globals=[]), str(".." / relative_rhello.relative_to(relative_dir))
MagicMock(globals={}), str(".." / relative_rhello.relative_to(relative_dir))
)

View file

@ -190,7 +190,7 @@ def download_artifact(
repository: str = "saltstack/salt",
):
"""
Download CI built packages artifacts.
Download CI artifacts.
"""
if TYPE_CHECKING:
assert artifact_name is not None