From a4003ca7335c47272eca6cc15a2c042fb2882c0b Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Mon, 6 Dec 2021 22:12:16 +0100 Subject: [PATCH] DCP: Redirect successful PyLint output to stdout --- lib/runner/strategy/docker_container_pool.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runner/strategy/docker_container_pool.rb b/lib/runner/strategy/docker_container_pool.rb index 3c2f5d36..be79bcc2 100644 --- a/lib/runner/strategy/docker_container_pool.rb +++ b/lib/runner/strategy/docker_container_pool.rb @@ -259,7 +259,7 @@ class Runner::Strategy::DockerContainerPool < Runner::Strategy # TODO: Super dirty hack to redirect test output to stderr # This is only required for Python and the unittest module but must not be used with PyLint @stream = 'stderr' - when /\*\*\*\*\*\*\*\*\*\*\*\*\* Module/ + when /\*\*\*\*\*\*\*\*\*\*\*\*\* Module/, / Your code has been rated at/ # Identification of PyLint output, change stream back to stdout and return event @stream = 'stdout' {'type' => @stream, 'data' => event_data}