fix(test): fix task __wrapped__ calls, auth imports, mock chains, async markers, and rate limit mock

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-12 13:03:26 +00:00
parent c297577677
commit 604facf36f
6 changed files with 144 additions and 135 deletions
+2 -2
View File
@@ -205,8 +205,8 @@ def oauth_enabled_app(oauth_config: Dict[str, str]):
from fastapi.testclient import TestClient
from app.main import app
# Create test client
client = TestClient(app)
# Create test client with base_url to satisfy TrustedHostMiddleware
client = TestClient(app, base_url="http://localhost")
yield client