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
+1 -1
View File
@@ -136,7 +136,7 @@ class TestRateLimitDecorators:
# Mock limiter to return a simple passthrough decorator
mock_limiter = MagicMock()
mock_limiter.exempt.return_value = lambda f: f
mock_limiter.exempt.side_effect = lambda f: f
mock_get_limiter.return_value = mock_limiter
# Decorate function