mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 00:14:46 +00:00
Fix --output-file regression
This commit is contained in:
parent
b4d2850192
commit
4888eb65c5
5 changed files with 29 additions and 25 deletions
|
|
@ -19,7 +19,7 @@ def test_get_style_guide():
|
|||
verbose=0,
|
||||
)
|
||||
mockedapp = mock.Mock()
|
||||
mockedapp.parse_preliminary_options.return_value = (prelim_opts, [])
|
||||
mockedapp.parse_preliminary_options.return_value = prelim_opts
|
||||
mockedapp.program = 'flake8'
|
||||
with mock.patch('flake8.api.legacy.config.ConfigFileFinder') as mock_config_finder: # noqa: E501
|
||||
config_finder = ConfigFileFinder(mockedapp.program)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue