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
|
|
@ -126,7 +126,7 @@ def test_styleguide_init_report():
|
|||
|
||||
class FakeFormatter(formatter.BaseFormatter):
|
||||
def format(self, *args):
|
||||
pass
|
||||
raise NotImplementedError
|
||||
|
||||
style_guide.init_report(FakeFormatter)
|
||||
app.make_formatter.assert_called_once_with(FakeFormatter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue