Skip to content
Permalink
47abaf09ed
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
25 lines (20 sloc) 524 Bytes
#!/usr/bin/env python3
from coverage import coverage
cov = coverage(branch=True, omit=['virtualenv/*', 'tests/*', 'config.py'])
cov.start()
import unittest
import os
# from tests.website import WebsiteTest
# from tests.utils import UtilsTest
from tests.build import BuildTest
if __name__ == '__main__':
try:
unittest.main(failfast=True)
except:
pass
cov.stop()
cov.save()
print("\n\nCoverage Report:\n")
cov.report()
cov.html_report(directory='tmp/coverage')
cov.erase()