fixed tests for additional default config

This commit is contained in:
Christian Zandee 2021-11-29 11:02:26 +01:00
parent f18685891e
commit 7218f9cc78
2 changed files with 6 additions and 0 deletions

View file

@ -8,6 +8,8 @@ from flake8.options.manager import OptionManager
def test_config_not_found_returns_none(tmp_path):
config.ADDITIONAL_LOCATIONS = ()
config.ADDITIONAL_CANDIDATES = ()
assert config._find_config_file(str(tmp_path)) is None