Skip to content

Commit

Permalink
Add prints to test_installed_matches to debug Windows failure
Browse files Browse the repository at this point in the history
  • Loading branch information
brianschubert committed Dec 31, 2023
1 parent c7555e9 commit 9ec4b05
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os
import pathlib
import subprocess
import sys
from typing import Any
Expand Down Expand Up @@ -136,8 +138,11 @@ def test_installed_matches(sixs_version, manual_input_file, helpers) -> None:

sixs_binary = sixs_bin.get_path(sixs_version)

direct_result = subprocess.run([sixs_binary], **proc_args)
venv_bin_dir = pathlib.Path(sys.executable).parent
print(f"{os.environ.get('PATH')=}")
print(f"{os.environ.get('VIRTUAL_ENV')=}")

direct_result = subprocess.run([sixs_binary], **proc_args)
installed_result = subprocess.run([sixs_binary.name], **proc_args)

assert direct_result.returncode == installed_result.returncode
Expand Down

0 comments on commit 9ec4b05

Please sign in to comment.