test_pyflakes_handler.vader
1 Before: 2 runtime ale_linters/python/pyflakes.vim 3 4 After: 5 call ale#linter#Reset() 6 7 Execute(The pyflakes handler should handle basic errors): 8 AssertEqual 9 \ [ 10 \ { 11 \ 'lnum': 1, 12 \ 'col': 0, 13 \ 'text': 'undefined name ''foo''', 14 \ }, 15 \ { 16 \ 'lnum': 1, 17 \ 'col': 7, 18 \ 'text': 'invalid syntax', 19 \ }, 20 \ ], 21 \ ale_linters#python#pyflakes#Handle(bufnr(''), [ 22 \ 'test.py:1: undefined name ''foo''', 23 \ 'test.py:1:7: invalid syntax', 24 \ ])