Skip to content
This repository was archived by the owner on Apr 30, 2026. It is now read-only.

Commit f4df65a

Browse files
a-dealclaude
andcommitted
Fix FakeAnthropic mock to accept kwargs (timeout parameter)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 84c8ac9 commit f4df65a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_v1_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ def create(self, **kwargs):
677677
return FakeMessage()
678678

679679
class FakeAnthropic:
680-
def __init__(self):
680+
def __init__(self, **kwargs):
681681
self.messages = FakeMessages()
682682

683683
monkeypatch.setattr(fp_mod.anthropic, "Anthropic", FakeAnthropic)

0 commit comments

Comments
 (0)