We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76a3811 commit 0dccaf2Copy full SHA for 0dccaf2
backend/tests/conftest.py
@@ -3,6 +3,8 @@
3
from sqlalchemy import create_engine
4
from sqlalchemy.orm import sessionmaker
5
from sqlalchemy.pool import StaticPool
6
+from app.middleware.auth_middleware import AuthMiddleware
7
+
8
9
from app.models import Base
10
from app.server import app
@@ -56,7 +58,6 @@ def auth_headers():
56
58
@pytest.fixture(scope="function")
57
59
def mock_auth_middleware(monkeypatch):
60
"""Mock the auth middleware to bypass Firebase authentication"""
- from app.middleware.auth_middleware import AuthMiddleware
61
62
async def mock_dispatch(self, request, call_next):
63
# Mock user data that would normally come from Firebase
0 commit comments