mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2025-11-02 09:46:04 +00:00
implemented '/-/config' endpoint to list runtime environment variables
This commit is contained in:
@@ -56,6 +56,11 @@ def test_health():
|
||||
assert response.json()['status'] == 'up'
|
||||
|
||||
|
||||
def test_config():
|
||||
response = client.get('/-/')
|
||||
assert response.status_code == 200
|
||||
|
||||
|
||||
def test_readme():
|
||||
response = client.get('/-/readme')
|
||||
assert response.status_code == 200
|
||||
|
||||
Reference in New Issue
Block a user