support extend-exclude Fixes #535

This commit is contained in:
Thomas Grainger 2019-07-08 20:12:47 +00:00 committed by Anthony Sottile
parent 0d7247082e
commit 9ba6677c4a
6 changed files with 70 additions and 9 deletions

View file

@ -206,8 +206,7 @@ def test_report_order(results, expected_order):
file_checker.results = results
file_checker.display_name = 'placeholder'
style_guide = mock.Mock(spec=['options'])
style_guide.processing_file = mock.MagicMock()
style_guide = mock.MagicMock(spec=['options', 'processing_file'])
# Create a placeholder manager without arguments or plugins
# Just add one custom file checker which just provides the results