-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from EURODEO/smoke-test
Add Smoke/Integration tests for the EDR API
- Loading branch information
Showing
15 changed files
with
899 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
.run/ | ||
|
||
# Python | ||
.pytest_cache/ | ||
__pycache__/ | ||
venv/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,7 @@ | |
# Install using: | ||
# pip-sync | ||
|
||
deepdiff~=6.2 | ||
grpcio-tools~=1.56 | ||
pytest~=7.4 | ||
requests~=2.31 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 77 additions & 0 deletions
77
integration-test/response/capabilities/200/all_collections.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"links": [ | ||
{ | ||
"href": "http://localhost:8008/collections", | ||
"rel": "self" | ||
} | ||
], | ||
"collections": [ | ||
{ | ||
"id": "observations", | ||
"links": [ | ||
{ | ||
"href": "http://localhost:8008/collections/observations", | ||
"rel": "self" | ||
} | ||
], | ||
"extent": { | ||
"spatial": { | ||
"bbox": [ | ||
[ | ||
3.0, | ||
50.0, | ||
8.0, | ||
55.0 | ||
] | ||
], | ||
"crs": "WGS84" | ||
} | ||
}, | ||
"data_queries": { | ||
"position": { | ||
"link": { | ||
"href": "http://localhost:8008/collections/observations/position", | ||
"rel": "data", | ||
"variables": { | ||
"query_type": "position", | ||
"output_format": [ | ||
"CoverageJSON" | ||
] | ||
} | ||
} | ||
}, | ||
"area": { | ||
"link": { | ||
"href": "http://localhost:8008/collections/observations/area", | ||
"rel": "data", | ||
"variables": { | ||
"query_type": "area", | ||
"output_format": [ | ||
"CoverageJSON" | ||
] | ||
} | ||
} | ||
}, | ||
"locations": { | ||
"link": { | ||
"href": "http://localhost:8008/collections/observations/locations", | ||
"rel": "data", | ||
"variables": { | ||
"query_type": "locations", | ||
"output_format": [ | ||
"CoverageJSON" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"crs": [ | ||
"WGS84" | ||
], | ||
"output_formats": [ | ||
"CoverageJSON" | ||
], | ||
"parameter_names": {} | ||
} | ||
] | ||
} |
Oops, something went wrong.