summaryrefslogtreecommitdiff
path: root/src/test/test_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_server.py')
-rw-r--r--src/test/test_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_server.py b/src/test/test_server.py
index f7dc06e..bbea257 100644
--- a/src/test/test_server.py
+++ b/src/test/test_server.py
@@ -147,7 +147,7 @@ def test_empty_query(client: FlaskClient) -> None:
response_object = json.loads(response.data.decode())
assert response_object == {
- 'api_schema_version': [1],
+ '$schema': 'https://hydrilla.koszko.org/schemas/api_query_result-1.schema.json',
'mappings': [],
'generated_by': expected_generated_by
}
@@ -166,7 +166,7 @@ def test_query(client: FlaskClient) -> None:
response_object = json.loads(response.data.decode())
assert response_object == {
- 'api_schema_version': [1],
+ '$schema': 'https://hydrilla.koszko.org/schemas/api_query_result-1.schema.json',
'mappings': [{
'identifier': 'helloapple',
'long_name': 'Hello Apple',