Skip to content

Commit

Permalink
Test fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Mar 28, 2024
1 parent eb2db49 commit f218734
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_verify_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,13 +268,17 @@ def test_pip_install_salt_w_package_requirements(pipexec, tmp_path, salt_branch)
# env=env,
# )
# assert p.returncode == 0, "Failed to pip install ./salt"
if sys.platform == "win32":
reqfile = "windows.txt"
else:
reqfile = sys.platform
req = os.path.join(
f"{tmp_path / 'salt'}",
"requirements",
"static",
"pkg",
f"py{get_build_version().rsplit('.', 1)[0]}",
f"{sys.platform}.txt",
f"{reqfile}.txt",
)
p = subprocess.run(
[
Expand Down

0 comments on commit f218734

Please sign in to comment.