--- a/tests/test_checker.py Sun Jun 26 14:21:43 2016 +0800
+++ b/tests/test_checker.py Sun Jun 26 20:27:35 2016 +0800
+from checker import run, read_linter_config
result = run(['echo', 'hi'], get_output=True)
+def test_read_linter_config():
+ config = read_linter_config('flake8')
+ assert config is not None
+ assert 'exec' in config
+ assert 'setup' in config
+ assert len(config['setup']) > 0
+ config = read_linter_config('perfectlinter')