Add parameter for missing extra config file

This commit is contained in:
Ian Cordasco 2016-01-10 09:50:32 -06:00
parent 9231aae1d6
commit de96b24bad

View file

@ -93,6 +93,13 @@ def test_generate_possible_local_config_files(args, expected):
[os.path.abspath('setup.cfg'),
os.path.abspath('tox.ini'),
os.path.abspath(CLI_SPECIFIED_FILEPATH)]),
# Common prefix of "flake8/" with missing extra config files specified
(['flake8/'],
[CLI_SPECIFIED_FILEPATH,
'tests/fixtures/config_files/missing.ini'],
[os.path.abspath('setup.cfg'),
os.path.abspath('tox.ini'),
os.path.abspath(CLI_SPECIFIED_FILEPATH)]),
])
def test_local_config_files(args, extra_config_files, expected):
"""Verify discovery of local config files."""