flake8/tests/unit
Ian Cordasco 3f434f7d1c
Add broken config file to test error handling
ConfigFileFinder should absolutely handle broken/invalid config files
by refusing to try to parse them. Here we catch the ParsingError,
log the exception, and then return normally. The RawConfigParser
instance is perfectly valid still and will behave as if nothing had
been read and we just need to indicate that we didn't find any files
worthy of reading.

Related to: https://github.com/PyCQA/pycodestyle/issues/506
2016-06-16 16:19:09 -05:00
..
test_base_formatter.py Add more BaseFormatter subclass tests 2016-06-04 13:02:29 -05:00
test_checker_manager.py Add test for the make_checkers method 2016-05-07 19:07:14 -05:00
test_config_file_finder.py Add broken config file to test error handling 2016-06-16 16:19:09 -05:00
test_file_processor.py Add more processor tests 2016-04-02 11:13:23 -05:00
test_merged_config_parser.py Add example configuration sections to the docs 2016-05-28 12:00:47 -05:00
test_notifier.py Fix import ordering in test files 2016-02-25 14:41:37 -06:00
test_option.py Fix import ordering in test files 2016-02-25 14:41:37 -06:00
test_option_manager.py Update tests after last night's refactor 2016-05-10 16:37:45 -05:00
test_plugin.py Refactor off-by-default plugins and enabling them 2016-05-28 11:57:18 -05:00
test_plugin_manager.py Fix import ordering in test files 2016-02-25 14:41:37 -06:00
test_plugin_type_manager.py Silence pytest warnings 2016-03-26 08:51:21 -05:00
test_style_guide.py Update our linecache test to correct it 2016-05-30 16:48:30 -05:00
test_trie.py Start documenting our Trie implementation 2016-02-01 20:09:15 -06:00
test_utils.py Add tests for parse_unified_diff 2016-06-07 10:14:45 -05:00