-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpytest.ini
More file actions
50 lines (48 loc) · 1.07 KB
/
pytest.ini
File metadata and controls
50 lines (48 loc) · 1.07 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[pytest]
django_find_project = false
pythonpath = ./tests/demoapp/ ./src
DJANGO_SETTINGS_MODULE = demo.settings
norecursedirs = "demo", ".tox"
addopts =
--tb=short
--capture=no
--echo-version=django
--echo-attr=django.conf.settings.DATABASES.default.ENGINE
--cov=admin_extra_buttons
--cov-report=html
--cov-report=xml
--cov-config=tests/.coveragerc
;python_files = "tests/test_*.py tests/**/test_*.py src/*.py"
markers =
functional: mark a test as functional
selenium: selenium test
skip: skip test
;
;[tool.coverage]
;run.source = [
; "admin_sync",
;]
;run.dynamic_context = "test_function"
;run.branch = true
;run.parallel = true
;run.omit = [
; "**/create_extra_permissions.py",
;]
;run.plugins = [
; "covdefaults",
;]
;report.fail_under = 80
;report.show_missing = true
;report.exclude_lines = [
; "pragma: no cover",
;]
;html.show_contexts = true
;html.skip_covered = false
;paths.source = [
; "src",
; ".tox*/*/lib/python*/site-packages",
; ".tox*/pypy*/site-packages",
; ".tox*\\*\\Lib\\site-packages",
; "*/src",
; "*\\src",
;]