feat: add canonical spot URLs
This commit is contained in:
@@ -83,6 +83,9 @@ def test_spot_detail_and_catches() -> None:
|
||||
assert catches.status_code == 200
|
||||
assert len(catches.json()) == 3
|
||||
assert catches.json()[0]["source_system"] == "manual-import"
|
||||
resolved = client.get("/api/v1/spots/resolve?waterbody=test-lake&x=10&y=20")
|
||||
assert resolved.status_code == 200
|
||||
assert resolved.json()["id"] == spot_id
|
||||
|
||||
|
||||
def test_records_list_is_empty_before_import() -> None:
|
||||
|
||||
Reference in New Issue
Block a user