Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@ def test_check_full_cli_invocation_with_positional(self):
try:
cmd_scan(ws) # build registry so check has something to read
proc = subprocess.run(
[sys.executable, "scripts/codelens.py",
[sys.executable, os.path.join(SCRIPT_DIR, "codelens.py"),
"check", ws, "--severity", "high", "--format", "json"],
capture_output=True, text=True, timeout=60,
env={**os.environ, "PYTHONPATH": "scripts"},
env={**os.environ, "PYTHONPATH": SCRIPT_DIR},
)
# ``check`` exits 1 when gate fails (which it likely will on the
# sample workspace) — that's fine, we only care that argparse
Expand Down
Loading