pytest.ini 343 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
[pytest]
# Show print statements and logs
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S

# Show stdout/stderr
addopts = -v -s --tb=short

# Capture settings
# -s means don't capture stdout (show print statements)
# --tb=short means short traceback format