forked from LuteOrg/lute-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pytest.ini
33 lines (28 loc) · 1.05 KB
/
.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
31
32
33
[pytest]
testpaths =
tests
# Acceptance tests are ignored because they are
# slow. Run them using "inv accept".
addopts = --ignore=tests/acceptance/ --ignore=tests/playwright/
# Acceptance tests were raising FutureWarning:
# FutureWarning: Deleting all cookies via CookieManager.delete()
# with no arguments has been deprecated. use CookieManager.delete_all().
# This is internal to the package, so stopping that.
filterwarnings =
ignore::FutureWarning
# Custom test categories, specified as e.g
# @pytest.mark.term_case
# run with
# pytest -m marker
# or
# inv test -a "-m <marker_name>"
markers =
term_case: changing term case
term_status_change: changing term status sets WoStatusChanged
find_match: finding term matches
sentences: finding term sentences/references
# Rather than sorting out how to add a flask cli command
# that has access to the configured app and context,
# I'm just using some markers to reset/wipe the dev db.
dbdemoload: cli hack to load the dev db with demo data
dbwipe: cli hack to wipe the dev db