Some checks failed
tamq-ci / test (push) Failing after 6s
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
21 lines
657 B
Python
21 lines
657 B
Python
import subprocess
|
|
from pathlib import Path
|
|
|
|
|
|
def test_plain_make_lists_available_targets():
|
|
project = Path(__file__).resolve().parents[1]
|
|
result = subprocess.run(
|
|
["make", "--no-print-directory"],
|
|
cwd=project,
|
|
text=True,
|
|
capture_output=True,
|
|
check=True,
|
|
)
|
|
|
|
assert result.stdout.splitlines() == [
|
|
" help List available targets",
|
|
" install Install or refresh tamq as a user-level uv tool",
|
|
" uninstall Uninstall the user-level tamq tool",
|
|
" test Run the test suite",
|
|
" check Run tests and repository consistency checks",
|
|
]
|