Spaces:
Runtime error
Runtime error
| [tool:pytest] | |
| # Pytest configuration for multi-language chat agent | |
| # Test discovery | |
| testpaths = tests | |
| python_files = test_*.py | |
| python_classes = Test* | |
| python_functions = test_* | |
| # Output options | |
| addopts = | |
| -v | |
| --tb=short | |
| --strict-markers | |
| --disable-warnings | |
| --color=yes | |
| --durations=10 | |
| # Markers for test categorization | |
| markers = | |
| unit: Unit tests for individual components | |
| integration: Integration tests for component interactions | |
| e2e: End-to-end tests for complete workflows | |
| performance: Performance and load tests | |
| slow: Tests that take longer to run | |
| api: API endpoint tests | |
| websocket: WebSocket communication tests | |
| database: Database-related tests | |
| cache: Redis cache tests | |
| language_switching: Language context switching tests | |
| chat_history: Chat history persistence tests | |
| concurrent: Concurrent operation tests | |
| # Minimum version requirements | |
| minversion = 6.0 | |
| # Test timeout (in seconds) | |
| timeout = 300 | |
| # Coverage options (if pytest-cov is installed) | |
| # addopts = --cov=chat_agent --cov-report=html --cov-report=term-missing | |
| # Logging configuration | |
| log_cli = true | |
| log_cli_level = INFO | |
| log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s | |
| log_cli_date_format = %Y-%m-%d %H:%M:%S | |
| # Filter warnings | |
| filterwarnings = | |
| ignore::UserWarning | |
| ignore::DeprecationWarning | |
| ignore::PendingDeprecationWarning |