mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-15 16:49:52 +00:00
instrument coverage on tests and require 100% coverage there
This commit is contained in:
parent
d097d5103d
commit
93a17a806d
9 changed files with 16 additions and 16 deletions
|
|
@ -73,5 +73,7 @@ def test_make_checkers():
|
|||
with mock.patch('flake8.processor.FileProcessor'):
|
||||
manager.make_checkers()
|
||||
|
||||
for file_checker in manager.checkers:
|
||||
assert manager._all_checkers
|
||||
for file_checker in manager._all_checkers:
|
||||
assert file_checker.filename in files
|
||||
assert not manager.checkers # the files don't exist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue