mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2025-05-09 14:46:01 +02:00
Add /status route
Currently this only prints the API version.
This commit is contained in:
@ -34,3 +34,12 @@ def test_get_swagger_ui(client):
|
||||
|
||||
assert isinstance(response.content, bytes)
|
||||
assert response.status_code == 200
|
||||
|
||||
|
||||
def test_get_status(client):
|
||||
"""Test requesting the status page."""
|
||||
|
||||
response = client.simulate_get("/status")
|
||||
|
||||
assert isinstance(response.content, bytes)
|
||||
assert response.status_code == 200
|
||||
|
Reference in New Issue
Block a user