From c8219adbd58f568e8502eac0973ccf9fe6d9c66f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20L=C3=B3pez?= Date: Mon, 29 Apr 2019 15:06:29 -0500 Subject: [PATCH] [REF] has_test_errors: Detect error if there is a traceback in the log Fix https://github.com/OCA/maintainer-quality-tools/issues/600 --- travis/test_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/travis/test_server.py b/travis/test_server.py index b7396ea81..ad58f261a 100755 --- a/travis/test_server.py +++ b/travis/test_server.py @@ -33,6 +33,7 @@ def has_test_errors(fname, dbname, odoo_version, check_loaded=True): ] errors_report = [ lambda x: x['loglevel'] == 'CRITICAL', + '\nTraceback \(most recent call last\)\:\n', 'At least one test failed', 'no access rules, consider adding one', 'invalid module names, ignored',