Skip to content
Snippets Groups Projects
Unverified Commit 49fa59f6 authored by Duncan Macleod's avatar Duncan Macleod
Browse files

tests: update tests for API

tests for regression against #31
parent 5a2c3082
Branches multi-character-site
No related tags found
No related merge requests found
Pipeline #583769 passed
......@@ -39,8 +39,8 @@ def test_find_observatories_path():
@pytest.mark.parametrize(("site", "result"), (
(None, "LDR/services/data/v1/gwf/all.json"),
("X1", "LDR/services/data/v1/gwf/X.json"),
("X", "LDR/services/data/v1/gwf/X.json"),
("XY", "LDR/services/data/v1/gwf/XY.json"),
))
def test_find_types_path(site, result):
assert api.find_types_path(site) == result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment