10 lines
295 B
Python
10 lines
295 B
Python
import pytest
|
|
from fastmcp.utilities.tests import ASGIServer
|
|
from server_contract import assert_server_contract
|
|
|
|
|
|
@pytest.mark.integration
|
|
async def test_fastapi_server(http_server: ASGIServer) -> None:
|
|
async with http_server.client() as client:
|
|
await assert_server_contract(client)
|