File: 0007-drop-pytest-cov-options.patch

package info (click to toggle)
cherrypy3 18.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,244 kB
  • sloc: python: 17,494; makefile: 25; sh: 8
file content (29 lines) | stat: -rw-r--r-- 779 bytes parent folder | download | duplicates (2)
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
# Remove cov options from pytest.ini
--- a/pytest.ini
+++ b/pytest.ini
@@ -29,16 +29,16 @@
 
   # `pytest-cov`:
   # `pytest-cov`, "-p" preloads the module early:
-  -p pytest_cov
-  --no-cov-on-fail
-  --cov=cherrypy
-  --cov-branch
-  --cov-report=term-missing:skip-covered
-  --cov-report=html:.tox/tmp/test-results/pytest/cov/
-  --cov-report=xml
+#  -p pytest_cov
+#  --no-cov-on-fail
+#  --cov=cherrypy
+#  --cov-branch
+#  --cov-report=term-missing:skip-covered
+#  --cov-report=html:.tox/tmp/test-results/pytest/cov/
+#  --cov-report=xml
   # --cov-report xml:.test-results/pytest/cov.xml  # alternatively move it here
-  --cov-context=test
-  --cov-config=.coveragerc
+#  --cov-context=test
+#  --cov-config=.coveragerc
 
 doctest_optionflags = ALLOW_UNICODE ELLIPSIS