update method coverage
This commit is contained in:
parent
db1b6e97ff
commit
6fb64b384f
2 changed files with 11 additions and 11 deletions
|
@ -3,7 +3,6 @@
|
||||||
# branch = True
|
# branch = True
|
||||||
concurrency = multiprocessing
|
concurrency = multiprocessing
|
||||||
omit = /usr/lib/python3/*,tests/*
|
omit = /usr/lib/python3/*,tests/*
|
||||||
|
|
||||||
[report]
|
[report]
|
||||||
# Regexes for lines to exclude from consideration
|
# Regexes for lines to exclude from consideration
|
||||||
exclude_lines =
|
exclude_lines =
|
||||||
|
|
21
Makefile
21
Makefile
|
@ -4,11 +4,12 @@ DESTDIR=/
|
||||||
BUILDIR=$(CURDIR)/debian/pymanager
|
BUILDIR=$(CURDIR)/debian/pymanager
|
||||||
PROJECT=pymanager
|
PROJECT=pymanager
|
||||||
VERSION=1.0.0
|
VERSION=1.0.0
|
||||||
OMIT_COVERGAGE=--omit=/usr/lib/python3/*,tests/*
|
#OMIT_COVERGAGE=--omit=/usr/lib/python3/*,tests/*
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo "make sdist - Create source package"
|
@echo "make sdist - Create source package"
|
||||||
@echo "make bdist - Create package"
|
@echo "make bdist - Create package"
|
||||||
|
@echo "make bdist_wheel - Create package wheel"
|
||||||
@echo "make test - Test"
|
@echo "make test - Test"
|
||||||
@echo "make coverage - coverage"
|
@echo "make coverage - coverage"
|
||||||
@echo "make htmldoc - generate html doc (out : doc/build)"
|
@echo "make htmldoc - generate html doc (out : doc/build)"
|
||||||
|
@ -22,20 +23,20 @@ sdist:
|
||||||
bdist:
|
bdist:
|
||||||
$(PYTHON) setup.py bdist $(COMPILE)
|
$(PYTHON) setup.py bdist $(COMPILE)
|
||||||
|
|
||||||
|
bdist_wheel:
|
||||||
|
$(PYTHON) setup.py bdist_wheel $(COMPILE)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(PYTHON) setup.py test
|
$(PYTHON) setup.py test
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
$(PYTHONCOVERAGE) erase
|
$(PYTHONCOVERAGE) erase
|
||||||
$(PYTHONCOVERAGE) run -a ${OMIT_COVERGAGE} pymanager/certificate.py --version
|
$(PYTHONCOVERAGE) run -a tests/test_certificate.py
|
||||||
$(PYTHONCOVERAGE) run -a ${OMIT_COVERGAGE} tests/test_certificate.py
|
$(PYTHONCOVERAGE) run -a tests/test_manager.py
|
||||||
$(PYTHONCOVERAGE) run -a ${OMIT_COVERGAGE} pymanager/manager.py --version
|
$(PYTHONCOVERAGE) run -a tests/test_client.py
|
||||||
$(PYTHONCOVERAGE) run -a ${OMIT_COVERGAGE} tests/test_manager.py
|
$(PYTHONCOVERAGE) run -a tests/test_password.py
|
||||||
$(PYTHONCOVERAGE) run -a ${OMIT_COVERGAGE} pymanager/client.py --version
|
$(PYTHONCOVERAGE) combine
|
||||||
$(PYTHONCOVERAGE) run -a ${OMIT_COVERGAGE} tests/test_client.py
|
$(PYTHONCOVERAGE) report
|
||||||
$(PYTHONCOVERAGE) run -a ${OMIT_COVERGAGE} pymanager/password.py --version
|
|
||||||
$(PYTHONCOVERAGE) run -a ${OMIT_COVERGAGE} tests/test_password.py
|
|
||||||
$(PYTHONCOVERAGE) report # ${OMIT_COVERGAGE}
|
|
||||||
$(PYTHONCOVERAGE) html
|
$(PYTHONCOVERAGE) html
|
||||||
|
|
||||||
htmldoc:
|
htmldoc:
|
||||||
|
|
Loading…
Reference in a new issue