Merge branch 'dev' into feature/cog-2717-add-better-error-management-to-cognee
This commit is contained in:
commit
c75f017eb9
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class TestCogneeServerStart(unittest.TestCase):
|
||||||
"""Test that the server is running and can accept connections."""
|
"""Test that the server is running and can accept connections."""
|
||||||
# Test health endpoint
|
# Test health endpoint
|
||||||
health_response = requests.get("http://localhost:8000/health", timeout=15)
|
health_response = requests.get("http://localhost:8000/health", timeout=15)
|
||||||
self.assertIn(health_response.status_code, [200])
|
self.assertIn(health_response.status_code, [200, 503])
|
||||||
|
|
||||||
# Test root endpoint
|
# Test root endpoint
|
||||||
root_response = requests.get("http://localhost:8000/", timeout=15)
|
root_response = requests.get("http://localhost:8000/", timeout=15)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue