Fix test for multi user session, add middleware based on app type + modify docker compose for development

This commit is contained in:
Yûki VACHOT 2025-11-30 00:56:28 +01:00
parent 482daa73e0
commit c04ba73c8a
3 changed files with 58 additions and 133 deletions

View file

@ -61,7 +61,7 @@ class TestMultiUserSessionManager:
assert session is None
@pytest.mark.asyncio
async def test_login_user_creates_manager_if_not_exists(self, manager, mock_http_client):
async def test_login_user_creates_manager_if_not_exists(self, manager):
"""Test that login_user creates a manager if it doesn't exist."""
# This test requires mocking the HTTP client for GeoGuessr API
# We'll mark it as a placeholder for now