feat: add canonical spot URLs
This commit is contained in:
1 parent
233c5887eb
commit
4e037eb7e8
8 files changed
+33
-8
No files matched your search
@@ -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