Lines Matching full:coverage
20 """Run tests and check that we get 100% coverage
28 exclude_list: List of file patterns to exclude from the coverage
31 required: List of modules which must be in the coverage report
34 ValueError if the code coverage is not 100%
45 cmd = ('PYTHONPATH=$PYTHONPATH:%s/sandbox_spl/tools python-coverage run '
48 stdout = command.Output('python-coverage', 'report')
61 coverage = lines[-1].split(' ')[-1]
63 print coverage
64 if coverage != '100%':
66 print ("Type 'python-coverage html' to get a report in "
68 print 'Coverage error: %s, but should be 100%%' % coverage
71 raise ValueError('Test coverage failure')