updated tests to work without .env file

This commit is contained in:
2026-03-04 23:07:53 -07:00
parent e34f82b181
commit e743167ba5
6 changed files with 48 additions and 15 deletions
+10
View File
@@ -16,6 +16,7 @@ dependencies = [
dev = [
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-env>=1.5.0",
"pytest-mock>=3.15.1",
]
@@ -36,3 +37,12 @@ markers = [
"integration: marks tests as integration tests (require external services)",
"unit: marks tests as unit tests (no external dependencies)",
]
# Environment variables for tests
env = [
"ANTHROPIC_API_KEY=test-key-12345",
"MODEL=claude-test-model",
"MAX_TOKENS=100",
"SAFEDIR=./test-workspace",
"USE_SANDBOX=false",
]