From 4863df5ac8810f9ab2c96191237b0e5414b97251 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 2 Jul 2016 17:19:19 +0200 Subject: [PATCH] quteprocess: also mark expected WARNINGs --- tests/end2end/fixtures/quteprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py index 05d9865af..0b0deeb83 100644 --- a/tests/end2end/fixtures/quteprocess.py +++ b/tests/end2end/fixtures/quteprocess.py @@ -117,7 +117,7 @@ class LogLine(testprocess.Line): format_str = log.EXTENDED_FMT # Mark expected errors with (Expected) so it's less confusing for tests # which expect errors but fail due to other errors. - if self.expected and self.loglevel >= log.LOG_LEVELS['ERROR']: + if self.expected and self.loglevel > logging.INFO: new_color = '{' + log.LOG_COLORS['DEBUG'] + '}' format_str = format_str.replace('{log_color}', new_color) format_str = re.sub(r'{levelname:(\d*)}',