Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Fix coverage tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisonleao committed Mar 24, 2014
1 parent 79fe84c commit e4cd0f4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
source = quokka

[report]
omit =
*/python?.?/*
*/site-packages/nose/*
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ shell:

.PHONY: test
test: pep8
nosetests --with-coverage --cover-package=quokka
python runtests.py

.PHONY: install
install:
Expand Down
7 changes: 7 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env python
# coding: utf-8
from nose.core import run

if __name__ == '__main__':
args = ['', '--cover-package=quokka', '--with-coverage']
run(argv=args)

0 comments on commit e4cd0f4

Please sign in to comment.