diff options
Diffstat (limited to 'tests/test_check_parallel.py')
-rw-r--r-- | tests/test_check_parallel.py | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/tests/test_check_parallel.py b/tests/test_check_parallel.py index e8f67f4b6..c45b0b3b9 100644 --- a/tests/test_check_parallel.py +++ b/tests/test_check_parallel.py @@ -103,9 +103,17 @@ class TestCheckParallelFramework: def test_worker_check_single_file_no_checkers(self): linter = PyLinter(reporter=Reporter()) worker_initialize(linter=linter) - (name, _, _, msgs, stats, msg_status) = worker_check_single_file( - _gen_file_data() - ) + + ( + _, # proc-id + name, + _, # file_path + _, # base_name + msgs, + stats, + msg_status, + _, # mapreduce_data + ) = worker_check_single_file(_gen_file_data()) assert name == "--test-file_data-name-0--" assert [] == msgs no_errors_status = 0 @@ -140,9 +148,16 @@ class TestCheckParallelFramework: # Add the only checker we care about in this test linter.register_checker(SequentialTestChecker(linter)) - (name, _, _, msgs, stats, msg_status) = worker_check_single_file( - _gen_file_data() - ) + ( + _, # proc-id + name, + _, # file_path + _, # base_name + msgs, + stats, + msg_status, + _, # mapreduce_data + ) = worker_check_single_file(_gen_file_data()) # Ensure we return the same data as the single_file_no_checkers test assert name == "--test-file_data-name-0--" |