mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-22 22:03:54 +03:00
Added coverage support on testing
This commit is contained in:
parent
fe712d27b7
commit
0ed1f3ccee
1
server/src/.gitignore
vendored
1
server/src/.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
/uds/static/clients/
|
||||
/*.sqlite3*
|
||||
.hypothesis
|
||||
htmlcov
|
||||
|
5
server/src/coverage.ini
Normal file
5
server/src/coverage.ini
Normal file
@ -0,0 +1,5 @@
|
||||
[run]
|
||||
|
||||
[report]
|
||||
|
||||
[html]
|
@ -1,3 +1,4 @@
|
||||
[pytest]
|
||||
DJANGO_SETTINGS_MODULE = server.settings
|
||||
python_files = tests.py test_*.py *_tests.py
|
||||
python_files = tests.py test_*.py *_tests.py
|
||||
addopts = --cov --cov-report html --cov-config=coverage.ini
|
||||
|
Loading…
x
Reference in New Issue
Block a user