forked from indico/indico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
30 lines (30 loc) · 813 Bytes
/
pytest.ini
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
[pytest]
; exclude unrelated folders and all old tests
norecursedirs =
.*
.git
indico/htdocs
indico/legacy
indico/locale
indico/migrations
indico/tests
test
build
dist
doc
etc
ext_modules
node_modules
; more verbose summary (include skip/fail/error/warning), coverage
addopts = -rsfEw --cov indico --cov-report html --no-cov-on-fail
; only check for tests in suffixed files
python_files = *_test.py
; fail if there are warnings, but ignore ones that are likely just noise
filterwarnings =
error
ignore:.*not in session, add operation along.*:sqlalchemy.exc.SAWarning
ignore::UserWarning
# port_for via pytest-redis
ignore:Sampling from a set deprecated:DeprecationWarning:port_for
; use redis-server from $PATH
redis_exec = redis-server