Skip to content

Commit cdec8e7

Browse files
committed
Merge branch 'main' into nox-uv
2 parents 4efe28e + 54c5580 commit cdec8e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import subprocess
2+
import sys
23

34

45
def test_main() -> None:
56
"""Test the main function of the CLI."""
67

78
# Run the CLI command
89
result = subprocess.run(
9-
["python", "-m", "fact.cli", "5"],
10+
[sys.executable, "-m", "fact.cli", "5"],
1011
capture_output=True,
1112
text=True,
1213
)

0 commit comments

Comments
 (0)