updated tests to work without .env file
This commit is contained in:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user