Skip to content
Snippets Groups Projects
Commit ee909b95 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix coverage

parent c6594a7c
No related branches found
No related tags found
No related merge requests found
[run]
source = foo
[report]
include =
foo/*
omit =
*/__version__.py
*/tests/*
*/*/tests/*
exclude_lines =
pragma: no cover
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
if self.debug:
if settings.DEBUG
......@@ -15,7 +15,7 @@ test:
py.test --junitxml=./reports/junit.xml -o junit_suite_name=$(PKGNAME) $(PKGNAME)
test-cov:
py.test --cov ./ --cov-report term-missing --cov-report xml:reports/coverage.xml --cov-report html:reports/coverage $(PKGNAME)
py.test --cov $(PKGNAME) --cov-report term-missing --cov-report xml:reports/coverage.xml --cov-report html:reports/coverage $(PKGNAME)
test-loop:
py.test $(PKGNAME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment