13 lines
321 B
Python
13 lines
321 B
Python
from fastapi.testclient import TestClient
|
|
from main import app
|
|
|
|
|
|
client = TestClient(app)
|
|
|
|
def test_discovery_page_assets():
|
|
response = client.get("/discovery")
|
|
assert response.status_code == 200
|
|
assert "leaflet.js" in response.text
|
|
assert "leaflet.css" in response.text
|
|
assert "map" in response.text
|