Anton Shestakov <av6@dwimlabs.net>, Mon, 04 Jul 2016 19:11:13 +0800
viewer: don't show check.started time in overview tables
Considering elapsed time for checks is below 1 minute, start time is not very
important. It still can be seen on check page.
tests/test_checker.py
Permissions: -rw-r--r--
from checker import run, read_linter_config result = run(['false'], ignore_codes=(1,)) result = run(['false'], ignore_codes=(127,)) result = run(['echo', 'hi'], get_output=False) result = run(['echo', 'hi'], get_output=True) def test_read_linter_config(): config = read_linter_config('flake8') assert config is not None assert len(config['setup']) > 0 config = read_linter_config('perfectlinter')