firecracker
34 строки · 960.0 Байт
1[pytest]
2; Omit verbose tracebacks, since they tend to pollute the output.
3addopts =
4--tb=short
5--durations=10
6--showlocals
7-m 'not nonci and not no_block_pr'
8--json-report --json-report-file=../test_results/test-report.json
9
10markers =
11no_block_pr: tests whose failure does not block PR merging.
12nonci: mark test as nonci.
13
14; Overwrite the default norecursedirs, which includes 'build'.
15norecursedirs = .*
16
17; Default timeout for tests. can be overwritten at finer grained levels.
18timeout = 300
19
20; Set the cache dir location to our build dir, so we don't litter the source
21; tree.
22cache_dir = ../build/pytest_cache
23
24; Set logger format and level
25log_level = INFO
26log_format = %(asctime)s.%(msecs)03d %(name)s: %(levelname)s %(message)s
27
28log_cli_level = ERROR
29log_cli = true
30
31; make those errors, not warnings
32filterwarnings =
33error::pytest.PytestUnraisableExceptionWarning
34error::pytest.PytestUnhandledThreadExceptionWarning
35