Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
improved code coverage report (cov is started earlier to catch functi…
…on definitions)
  • Loading branch information
proost committed Sep 20, 2016
1 parent 09b4fe7 commit 8dabdf8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions run_unittest.py
@@ -1,15 +1,15 @@
#!/usr/bin/env python3
from coverage import coverage

cov = coverage(branch=True, omit=['virtualenv/*', 'tests/*'])
cov.start()

import unittest
import os

from tests.website import WebsiteTest
from tests.utils import UtilsTest

from coverage import coverage

cov = coverage(branch=True, omit=['virtualenv/*', 'tests.py'])
cov.start()

if __name__ == '__main__':
try:
unittest.main(failfast=True)
Expand Down

0 comments on commit 8dabdf8

Please sign in to comment.