CI always runs with TEST_DEBUG=1 which prints logs anyway, and testing locally should also be done this way, combined with pytest which captures the logs. No need to duplicate the functionality of pytest. Signed-off-by: Christian Decker <decker.christian@gmail.com>