stac-fastapi.api 5.0.3__tar.gz → 5.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/PKG-INFO +1 -1
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi/api/version.py +1 -1
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi.api.egg-info/PKG-INFO +1 -1
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/tests/test_app.py +6 -2
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/tests/test_app_prefix.py +3 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/tests/test_models.py +6 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/README.md +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/setup.cfg +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/setup.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi/api/__init__.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi/api/app.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi/api/config.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi/api/errors.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi/api/middleware.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi/api/models.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi/api/openapi.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi/api/routes.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi.api.egg-info/SOURCES.txt +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi.api.egg-info/dependency_links.txt +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi.api.egg-info/not-zip-safe +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi.api.egg-info/requires.txt +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi.api.egg-info/top_level.txt +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/tests/test_api.py +0 -0
- {stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/tests/test_middleware.py +0 -0
|
@@ -188,7 +188,9 @@ def test_filter_extension(validate, TestCoreClient, item_dict):
|
|
|
188
188
|
)
|
|
189
189
|
|
|
190
190
|
assert landing.status_code == 200, landing.text
|
|
191
|
-
assert "Queryables
|
|
191
|
+
assert "Queryables available for this Catalog" in [
|
|
192
|
+
link.get("title") for link in landing.json()["links"]
|
|
193
|
+
]
|
|
192
194
|
assert get_search.status_code == 200, get_search.text
|
|
193
195
|
assert post_search.status_code == 200, post_search.text
|
|
194
196
|
|
|
@@ -221,7 +223,9 @@ def test_filter_extension(validate, TestCoreClient, item_dict):
|
|
|
221
223
|
)
|
|
222
224
|
|
|
223
225
|
assert landing.status_code == 200, landing.text
|
|
224
|
-
assert "Queryables
|
|
226
|
+
assert "Queryables available for this Catalog" in [
|
|
227
|
+
link.get("title") for link in landing.json()["links"]
|
|
228
|
+
]
|
|
225
229
|
assert get_search.status_code == 200, get_search.text
|
|
226
230
|
assert post_search.status_code == 200, post_search.text
|
|
227
231
|
|
|
@@ -64,6 +64,7 @@ def test_api_prefix(TestCoreClient, prefix):
|
|
|
64
64
|
|
|
65
65
|
link_tests = [
|
|
66
66
|
("root", "application/json", "/"),
|
|
67
|
+
("self", "application/json", "/"),
|
|
67
68
|
("conformance", "application/json", "/conformance"),
|
|
68
69
|
("data", "application/json", "/collections"),
|
|
69
70
|
("search", "application/geo+json", "/search"),
|
|
@@ -126,6 +127,7 @@ def test_async_api_prefix(AsyncTestCoreClient, prefix):
|
|
|
126
127
|
|
|
127
128
|
link_tests = [
|
|
128
129
|
("root", "application/json", "/"),
|
|
130
|
+
("self", "application/json", "/"),
|
|
129
131
|
("conformance", "application/json", "/conformance"),
|
|
130
132
|
("data", "application/json", "/collections"),
|
|
131
133
|
("search", "application/geo+json", "/search"),
|
|
@@ -190,6 +192,7 @@ def test_api_prefix_with_root_path(TestCoreClient, prefix):
|
|
|
190
192
|
|
|
191
193
|
link_tests = [
|
|
192
194
|
("root", "application/json", "/"),
|
|
195
|
+
("self", "application/json", "/"),
|
|
193
196
|
("conformance", "application/json", "/conformance"),
|
|
194
197
|
("data", "application/json", "/collections"),
|
|
195
198
|
("search", "application/geo+json", "/search"),
|
|
@@ -40,6 +40,12 @@ def test_create_get_request_model():
|
|
|
40
40
|
assert d.microsecond == 10
|
|
41
41
|
assert not model.end_date
|
|
42
42
|
|
|
43
|
+
model = request_model(bbox="0,0,0,1,1,1")
|
|
44
|
+
assert model.bbox == (0.0, 0.0, 0.0, 1.0, 1.0, 1.0)
|
|
45
|
+
|
|
46
|
+
with pytest.raises(AssertionError):
|
|
47
|
+
request_model(bbox="0,0,0,1,1")
|
|
48
|
+
|
|
43
49
|
model = request_model(
|
|
44
50
|
datetime="2020-01-01T00:00:00.00001Z/2020-01-02T00:00:00.00001Z",
|
|
45
51
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stac_fastapi_api-5.0.3 → stac_fastapi_api-5.1.1}/stac_fastapi.api.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|