Skip to content

Commit

Permalink
Fix anthropic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diekotto committed Dec 26, 2024
1 parent 8abe727 commit d418577
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/models/test_anthropic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from unittest.mock import AsyncMock, MagicMock, patch

import anthropic
Expand All @@ -22,6 +23,7 @@ def anthropic_handler(repository_context_fixture: RepositoryContext):
pytest.skip("Anthropic library is not available")
config_loader = ConfigLoader()
context = repository_context_fixture
os.environ["ANTHROPIC_API_KEY"] = "test"
return AnthropicHandler(config_loader, context)


Expand Down

0 comments on commit d418577

Please sign in to comment.