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

tests: update find_url test to expose bug

see #22
parent babbb392
No related branches found
No related tags found
1 merge request!60Fix bug in find_url
......@@ -81,12 +81,12 @@ def test_find_url(client):
"""
resp = client.get(
"/services/data/v1"
"/h5/L/L1_TEST_1/L-L1_TEST_1-1000000004-4.h5.json",
"/h5/L/L1_TEST_1/L-L1_TEST_1-1000000000-4.h5.json",
)
assert resp.status_code == 200
assert resp.json == [
"file://localhost/test/path/L-L1_TEST_1-1000000004-4.h5",
"gsiftp://testhost:15000/test/path/L-L1_TEST_1-1000000004-4.h5",
"file://localhost/test/path/L-L1_TEST_1-1000000000-4.h5",
"gsiftp://testhost:15000/test/path/L-L1_TEST_1-1000000000-4.h5",
]
......
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