forked from RedHatProductSecurity/osidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpytest.ini
19 lines (17 loc) · 890 Bytes
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[pytest]
addopts = --ignore src --cov-config=.coveragerc --cov osidb --cov apps --cov collectors --cov-append --cov-report html --cov-report xml:coverage.xml --cov-report term --strict-config --strict-markers --rootdir . --reuse-db -ra -s
# Use -rA (-rpP) to see output even for (only for) passing tests: https://docs.pytest.org/en/latest/how-to/output.html
# Disabled by default because it spams the console and makes it hard to find output for failing tests
cache_dir = /tmp/.pytest_cache
markers =
unit: marks a unit test.
integration: marks a test that requires access to running environment.
enable_signals: enables django signals to run.
filterwarnings =
ignore::UserWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
log_cli = 1
log_cli_level = WARNING
log_cli_format = %(asctime)s %(levelname)s %(message)s
log_cli_date_format = %H:%M:%S