2024-03-01 20:14:20 -05:00
|
|
|
from fastapi.testclient import TestClient
|
2024-01-17 22:01:39 -05:00
|
|
|
|
|
|
|
|
2024-03-01 20:14:20 -05:00
|
|
|
async def test_ping(client: TestClient):
|
|
|
|
response = client.get("/control/ping")
|
2024-01-17 22:01:39 -05:00
|
|
|
assert response.status_code == 200
|
|
|
|
assert response.json() == {"ping": "pong"}
|