diff --git a/tests/utils/test_pylint.py b/tests/utils/test_pylint.py index 8ef9425c9..da83fc1e7 100644 --- a/tests/utils/test_pylint.py +++ b/tests/utils/test_pylint.py @@ -68,7 +68,7 @@ class TestPylint(TestCase): # WHEN: Running pylint (pylint_stdout, pylint_stderr) = \ - lint.py_run('openlp --errors-only --disable={disabled} --enable={enabled} ' + lint.py_run('openlp --errors-only -j 4 --disable={disabled} --enable={enabled} ' '--reports=no --output-format=parseable'.format(disabled=disabled_checks, enabled=enabled_checks), **pylint_kwargs) @@ -88,7 +88,7 @@ class TestPylint(TestCase): filtered_output = '' for line in pylint_output.splitlines(): # Filter out module info lines - if line.startswith('**'): + if '***' in line: continue # Filter out undefined-variable error releated to WindowsError elif 'undefined-variable' in line and 'WindowsError' in line: