Skip to content

Commit 14fdd2a

Browse files
committed
push to cicd
1 parent 25a7e34 commit 14fdd2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_quickmode_open.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ def test_mdbub_can_open_simplemap() -> None:
66
"""Test that 'poetry run mdbub' can open examples/mindmaps/simplemap.md without error."""
77
test_file = Path(__file__).parent.parent / "examples" / "mindmaps" / "simplemap.md"
88
assert test_file.exists(), f"File not found: {test_file}"
9-
cmd = ["poetry", "run", "mdbub", str(test_file)]
9+
import sys
10+
11+
cmd = [sys.executable, "-m", "poetry", "run", "mdbub", str(test_file)]
1012
proc = subprocess.Popen(
1113
cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE
1214
)

0 commit comments

Comments
 (0)