File size: 649 Bytes
f647629
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[tool:pytest]
markers =
    integration: marks tests as integration tests
    unit: marks tests as unit tests that use mocking
    slow: marks tests as slow running

testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*

# Default to running unit tests only
addopts = -v --tb=short -m "not integration"

# Minimum version requirements
minversion = 6.0

# Configure logging
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

# Configure pytest-asyncio
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function