From ef40189645724c2b7f8586d880c8a5e068138692 Mon Sep 17 00:00:00 2001 From: Dave Lasley Date: Wed, 14 Sep 2016 21:30:38 -0700 Subject: [PATCH] [FIX] test_server: Add ERROR log level * Also listen for ERROR log level on versions >7 --- travis/test_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis/test_server.py b/travis/test_server.py index 07dd568dc..91484b47f 100755 --- a/travis/test_server.py +++ b/travis/test_server.py @@ -30,7 +30,7 @@ def has_test_errors(fname, dbname, odoo_version, check_loaded=True): 'failed sending mail', ] errors_report = [ - lambda x: x['loglevel'] == 'CRITICAL', + lambda x: x['loglevel'] in ['CRITICAL', 'ERROR'], 'At least one test failed', 'no access rules, consider adding one', 'invalid module names, ignored',