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
3 changes: 2 additions & 1 deletion tests/fixtures/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import os
import socket
import subprocess
import sys
import tempfile
import time
from pathlib import Path
Expand Down Expand Up @@ -38,7 +39,7 @@ def wait_for_port(host: str, port: int, timeout: float = 60.0) -> bool:

def run_cli(*args: str, check: bool = True) -> subprocess.CompletedProcess:
"""Run sqlit CLI command and return result."""
cmd = ["python", "-m", "sqlit.cli"] + list(args)
cmd = [sys.executable, "-m", "sqlit.cli"] + list(args)
result = subprocess.run(
cmd,
capture_output=True,
Expand Down
Loading