Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
[REF] has_test_errors: Detect error if there is a traceback in the log
Browse files Browse the repository at this point in the history
Fix #600
  • Loading branch information
moylop260 committed Apr 29, 2019
1 parent 310d1d1 commit c8219ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions travis/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c8219ad

Please sign in to comment.