Skip to content

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
  • Loading branch information
moylop260 committed Apr 29, 2019
1 parent 310d1d1 commit 2182c33
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 2182c33

Please sign in to comment.