Skip to content

Commit

Permalink
Debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Mar 25, 2024
1 parent 90b6fa4 commit 991d574
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_verify_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1162,12 +1162,12 @@ def test_install_with_target_scripts(pipexec, build, minor_version):


@pytest.mark.skip_unless_on_linux
def test_install_with_target_namespaces(pipexec, build, minor_version):
def test_install_with_target_namespaces(pipexec, build, minor_version, build_version):
env = os.environ.copy()
os.chdir(build)
env["RELENV_DEBUG"] = "yes"
print(build_version)

build_version = get_build_version()
if "3.12" in build_version or "3.11" in build_version:
subprocess.run(
[
Expand All @@ -1179,7 +1179,6 @@ def test_install_with_target_namespaces(pipexec, build, minor_version):
],
check=True,
env=env,
capture_output=True,
)

extras = build / "extras"
Expand All @@ -1194,7 +1193,6 @@ def test_install_with_target_namespaces(pipexec, build, minor_version):
],
check=True,
env=env,
capture_output=True,
)
assert (extras / "saltext" / "vmware").exists()
subprocess.run(
Expand All @@ -1207,7 +1205,6 @@ def test_install_with_target_namespaces(pipexec, build, minor_version):
],
check=True,
env=env,
capture_output=True,
)
assert (extras / "saltext" / "bitwarden").exists()

Expand Down

0 comments on commit 991d574

Please sign in to comment.