-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpytest.ini
More file actions
44 lines (39 loc) · 1.25 KB
/
pytest.ini
File metadata and controls
44 lines (39 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[pytest]
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-p pytest_mock
-v
--tb=short
--strict-markers
# Markers
markers =
smoke: Critical path tests that MUST always pass
unit: Fast, isolated unit tests
integration: Tests requiring database or services
e2e: End-to-end tests with full system
slow: Tests that take > 5 seconds
ai: Tests requiring GEMINI_API_KEY
gam: Tests requiring GAM credentials
skip_ci: Skip in CI environment
asyncio: Async test functions
requires_db: Tests requiring a real database with tables
requires_server: Tests requiring a running MCP server
admin: Tests for admin UI template rendering and web interface
# Ignore patterns
norecursedirs = .git .venv tools scripts migrations
# Suppress third-party deprecation warnings (our code warnings remain visible)
filterwarnings =
default
ignore::DeprecationWarning:a2a\.server
ignore::DeprecationWarning:googleads\.common
ignore::RuntimeWarning:subprocess
ignore::DeprecationWarning:zeep\.cache
ignore::ResourceWarning:asyncio\.base_events
ignore::ResourceWarning:asyncio\.selector_events
# Asyncio mode
asyncio_mode = auto