40 lines
No EOL
938 B
INI
40 lines
No EOL
938 B
INI
[pytest]
|
|
# Pytest configuration for Graphiti MCP integration tests
|
|
|
|
# Test discovery patterns
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Asyncio configuration
|
|
asyncio_mode = auto
|
|
|
|
# Markers for test categorization
|
|
markers =
|
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
|
integration: marks tests as integration tests requiring external services
|
|
unit: marks tests as unit tests
|
|
stress: marks tests as stress/load tests
|
|
requires_neo4j: test requires Neo4j database
|
|
requires_falkordb: test requires FalkorDB
|
|
requires_kuzu: test requires KuzuDB
|
|
requires_openai: test requires OpenAI API key
|
|
|
|
# Test output options
|
|
addopts =
|
|
-v
|
|
--tb=short
|
|
--strict-markers
|
|
--color=yes
|
|
-p no:warnings
|
|
|
|
# Timeout for tests (seconds)
|
|
timeout = 300
|
|
|
|
# Coverage options
|
|
testpaths = tests
|
|
|
|
# Environment variables for testing
|
|
env =
|
|
TEST_MODE=true
|
|
LOG_LEVEL=INFO |