aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_server.py b/src/test/test_server.py
index def48dc..b3ea741 100644
--- a/src/test/test_server.py
+++ b/src/test/test_server.py
@@ -128,7 +128,7 @@ def test_file_refs(client: FlaskClient, item_type: str) -> None:
for file_ref in [*definition.get('scripts', []),
*definition['source_copyright']]:
hash_sum = file_ref["sha256"]
- response = client.get(f'/file/sha256-{hash_sum}')
+ response = client.get(f'/file/sha256/{hash_sum}')
assert response.status_code == 200
assert sha256(response.data).digest().hex() == hash_sum