config: Make ConfigFileFinder 'extra_config_files' parameter optional

This simplifies the number of required parameters needed for the
`ConfigFileFinder` object throughout the various tests.
This commit is contained in:
Eric N. Vander Weele 2020-01-12 16:03:03 -08:00
parent 44d67e46f5
commit eb6698c420
6 changed files with 17 additions and 22 deletions

View file

@ -17,7 +17,7 @@ def optmanager():
@pytest.fixture
def config_finder():
"""Generate a simple ConfigFileFinder."""
return config.ConfigFileFinder('flake8', [])
return config.ConfigFileFinder('flake8')
def test_parse_cli_config(optmanager, config_finder):