add check for a missing specified config file

This commit is contained in:
Ruairidh MacLeod 2021-12-24 01:36:41 +00:00
parent d478d92299
commit d948169292
2 changed files with 6 additions and 2 deletions

View file

@ -394,7 +394,7 @@ def test_config_file_not_found(tmpdir, capsys):
expected = """\
There was a critical error during execution of Flake8:
The specified config file does not exist
The specified config file does not exist: missing.cfg
"""
with tmpdir.as_cwd():