diff --git a/panther/panel/urls.py b/panther/panel/urls.py index 3623f2a..9b198fb 100644 --- a/panther/panel/urls.py +++ b/panther/panel/urls.py @@ -4,5 +4,5 @@ '': models_api, '/': documents_api, '//': single_document_api, - 'healthcheck': healthcheck_api, + 'health': healthcheck_api, } diff --git a/tests/test_run.py b/tests/test_run.py index fb6f528..6edeff8 100644 --- a/tests/test_run.py +++ b/tests/test_run.py @@ -23,7 +23,7 @@ def test_init(self): def test_load_configs(self): from panther.configs import config - from panther.panel.apis import documents_api, models_api, single_document_api + from panther.panel.apis import documents_api, models_api, single_document_api, healthcheck_api base_dir = Path(__name__).resolve().parent secret_key = 'fHrIYx3yK0J_UG0K0zD6miLPNy1esoYXzVsvif6e7rY=' @@ -69,6 +69,7 @@ def test_load_configs(self): '': documents_api, '': single_document_api, }, + 'health': healthcheck_api }, } assert config['urls'] == urls