instrument coverage on tests and require 100% coverage there

This commit is contained in:
Anthony Sottile 2020-03-23 11:58:00 -07:00
parent d097d5103d
commit 93a17a806d
9 changed files with 16 additions and 16 deletions

View file

@ -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)