msys2-web/tests/test_api.py
Christoph Reiter 1c703c66d7 Add an example MCP server
Only provides one tool for vercmp() as a test.

Since the mcp session can only be instanciated once I needed to
adjust the test client usage in the test suite a bit and make
it a shared session fixture.
2025-07-06 17:32:20 +02:00

5 lines
92 B
Python

# type: ignore
def test_api(client):
client.get('/api/buildqueue2').raise_for_status()