File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,6 @@ PYTEST_ARGS =
30
30
31
31
TEST_EXTRA_PACKAGES =
32
32
33
- ifeq ($(COVERAGE ) , true)
34
- TEST_EXTRA_PACKAGES += pytest-cov
35
- PYTEST_ARGS += --cov-config .coveragerc --cov vdirsyncer
36
- endif
37
-
38
33
ifeq ($(ETESYNC_TESTS ) , true)
39
34
TEST_EXTRA_PACKAGES += git+https://github.com/etesync/
[email protected]
40
35
TEST_EXTRA_PACKAGES += django djangorestframework==3.8.2 wsgi_intercept drf-nested-routers
Original file line number Diff line number Diff line change @@ -3,7 +3,12 @@ universal = 1
3
3
4
4
[tool:pytest]
5
5
norecursedirs = tests/storage/servers/*
6
- addopts = --tb =short
6
+ addopts =
7
+ --tb =short
8
+ --cov-config .coveragerc
9
+ --cov =vdirsyncer
10
+ --cov-report =term-missing
11
+ --no-cov-on-fail
7
12
8
13
[flake8]
9
14
# E731: Use a def instead of lambda expr
Original file line number Diff line number Diff line change 1
1
hypothesis>=5.0.0
2
2
pytest
3
+ pytest-cov
3
4
pytest-localserver
4
5
pytest-subtesthack
You can’t perform that action at this time.
0 commit comments