Skip to content

Commit

Permalink
Update base.txt, test_csw.json, and 5 more files...
Browse files Browse the repository at this point in the history
  • Loading branch information
jokiefer committed Mar 15, 2024
1 parent c22675c commit 6490b3b
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 53 deletions.
2 changes: 1 addition & 1 deletion mrmap/.requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ odin==2.9.0

drf-spectacular-jsonapi==0.4.1

django-ows-lib==0.14.2
django-ows-lib==0.14.3

camel-converter==3.0.0

Expand Down
9 changes: 3 additions & 6 deletions mrmap/registry/fixtures/test_csw.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@
"abstract": "abstract1",
"service_url": "",
"service_contact": "1",
"metadata_contact": "1",
"search_vector": ""
"metadata_contact": "1"
}
},
{
Expand All @@ -162,8 +161,7 @@
"service_url": "",
"service_contact": "1",
"metadata_contact": "1",
"version": "2.0.2",
"search_vector": ""
"version": "2.0.2"
}
},
{
Expand All @@ -183,8 +181,7 @@
[
"meteorology"
]
],
"search_vector": ""
]
}
},
{
Expand Down
6 changes: 2 additions & 4 deletions mrmap/registry/fixtures/test_datasetmetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
"reference_systems": [],
"harvested_through": [
"9cc4889d-0cd4-4c3b-8975-58de6d30db41"
],
"search_vector": ""
]
}
},
{
Expand Down Expand Up @@ -106,8 +105,7 @@
"reference_systems": [],
"harvested_through": [
"9cc4889d-0cd4-4c3b-8975-58de6d30db41"
],
"search_vector": ""
]
}
},
{
Expand Down
21 changes: 7 additions & 14 deletions mrmap/registry/fixtures/test_wfs.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@
[
"meteorology"
]
],
"search_vector": ""
]
}
},
{
Expand All @@ -97,8 +96,7 @@
[
"meteorology"
]
],
"search_vector": ""
]
}
},
{
Expand All @@ -111,8 +109,7 @@
"bbox_lat_lon": "SRID=4326;POLYGON ((-180 -90, -180 90, 180 90, 180 -90, -180 -90))",
"origin": "capabilities",
"title": "node2",
"is_active": true,
"search_vector": ""
"is_active": true
}
},
{
Expand All @@ -125,8 +122,7 @@
"bbox_lat_lon": "SRID=4326;POLYGON ((-180 -90, -180 90, 180 90, 180 -90, -180 -90))",
"origin": "capabilities",
"title": "node3",
"is_active": true,
"search_vector": ""
"is_active": true
}
},
{
Expand All @@ -139,8 +135,7 @@
"bbox_lat_lon": "SRID=4326;POLYGON ((-180 -90, -180 90, 180 90, 180 -90, -180 -90))",
"origin": "capabilities",
"title": "node4",
"is_active": false,
"search_vector": ""
"is_active": false
}
},
{
Expand All @@ -165,8 +160,7 @@
"abstract": "wfs2 abstract",
"service_url": "",
"service_contact": "1",
"metadata_contact": "1",
"search_vector": ""
"metadata_contact": "1"
}
},
{
Expand All @@ -179,8 +173,7 @@
"bbox_lat_lon": "SRID=4326;POLYGON ((-180 -90, -180 90, 180 90, 180 -90, -180 -90))",
"origin": "capabilities",
"title": "wfs2-node1",
"abstract": "wfs2-node1",
"search_vector": ""
"abstract": "wfs2-node1"
}
}
]
9 changes: 3 additions & 6 deletions mrmap/registry/fixtures/test_wfs_proxy.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
"title": "MapServer countires example",
"service_url": "",
"service_contact": "1",
"metadata_contact": "1",
"search_vector": ""
"metadata_contact": "1"
}
},
{
Expand All @@ -70,8 +69,7 @@
"date_stamp": "2013-03-16T17:41:28+00:00",
"identifier": "ms:Countries",
"origin": "capabilities",
"title": "Countries",
"search_vector": ""
"title": "Countries"
}
},
{
Expand All @@ -82,8 +80,7 @@
"date_stamp": "2013-03-16T17:41:28+00:00",
"identifier": "ms:Rivers",
"origin": "capabilities",
"title": "Rivers",
"search_vector": ""
"title": "Rivers"
}
},
{
Expand Down
33 changes: 11 additions & 22 deletions mrmap/registry/fixtures/test_wms.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@
[
"meteorology"
]
],
"search_vector": ""
]
}
},
{
Expand Down Expand Up @@ -214,8 +213,7 @@
],
"reference_systems": [
1
],
"search_vector": ""
]
}
},
{
Expand All @@ -232,8 +230,7 @@
"mptt_tree": 1,
"mptt_depth": 1,
"mptt_lft": 2,
"mptt_rgt": 9,
"search_vector": ""
"mptt_rgt": 9
}
},
{
Expand All @@ -250,8 +247,7 @@
"mptt_tree": 1,
"mptt_depth": 2,
"mptt_lft": 3,
"mptt_rgt": 4,
"search_vector": ""
"mptt_rgt": 4
}
},
{
Expand All @@ -268,8 +264,7 @@
"mptt_tree": 1,
"mptt_depth": 2,
"mptt_lft": 5,
"mptt_rgt": 6,
"search_vector": ""
"mptt_rgt": 6
}
},
{
Expand All @@ -286,8 +281,7 @@
"mptt_tree": 1,
"mptt_depth": 2,
"mptt_lft": 7,
"mptt_rgt": 8,
"search_vector": ""
"mptt_rgt": 8
}
},
{
Expand All @@ -304,8 +298,7 @@
"mptt_tree": 1,
"mptt_depth": 1,
"mptt_lft": 10,
"mptt_rgt": 11,
"search_vector": ""
"mptt_rgt": 11
}
},
{
Expand All @@ -322,8 +315,7 @@
"mptt_tree": 1,
"mptt_depth": 1,
"mptt_lft": 12,
"mptt_rgt": 15,
"search_vector": ""
"mptt_rgt": 15
}
},
{
Expand All @@ -341,8 +333,7 @@
"mptt_tree": 1,
"mptt_depth": 2,
"mptt_lft": 13,
"mptt_rgt": 14,
"search_vector": ""
"mptt_rgt": 14
}
},
{
Expand Down Expand Up @@ -372,8 +363,7 @@
"abstract": "wms2 abstract",
"service_url": "",
"service_contact": "2",
"metadata_contact": "2",
"search_vector": ""
"metadata_contact": "2"
}
},
{
Expand All @@ -392,8 +382,7 @@
"mptt_tree": 2,
"mptt_depth": 0,
"mptt_lft": 1,
"mptt_rgt": 2,
"search_vector": ""
"mptt_rgt": 2
}
},
{
Expand Down
5 changes: 5 additions & 0 deletions mrmap/tests/django/registry/tasks/tests_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ def test_success_with_service_auth(self, mock_response):
self.assertDictEqual(d1=result.result, d2=expected_result,
msg="Task result does not match expection.")

self.assertEqual(
db_service.version,
"1.3.0"
)

@override_settings(CELERY_EAGER_PROPAGATES_EXCEPTIONS=True,
CELERY_ALWAYS_EAGER=True,
BROKER_BACKEND='memory')
Expand Down

0 comments on commit 6490b3b

Please sign in to comment.