mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-06 17:07:46 +00:00
5a70604f01
Add multitenancy support to Summary sub-app. The V1 routes / tasks behave like before, with the default tenant being "meet". V2 routes / tasks support being called frm any tenant, and don't have meet related logic. V2 tasks are created in separate queues to avoid mix / match,i
22 lines
631 B
Python
22 lines
631 B
Python
"""Integration tests for the health check endpoints."""
|
|
|
|
|
|
class TestHeartbeat:
|
|
"""Tests for the /__heartbeat__ endpoint."""
|
|
|
|
def test_returns_200(self, client):
|
|
"""The heartbeat endpoint responds with 200 OK without an api_key."""
|
|
response = client.get("/__heartbeat__")
|
|
|
|
assert response.status_code == 200
|
|
|
|
|
|
class TestLBHeartbeat:
|
|
"""Tests for the /__lbheartbeat__ endpoint."""
|
|
|
|
def test_returns_200(self, client):
|
|
"""The LB heartbeat endpoint responds with 200 OK without an api_key."""
|
|
response = client.get("/__lbheartbeat__")
|
|
|
|
assert response.status_code == 200
|