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

[REF] has_test_errors: Detect error if there is a traceback in the log #601

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

moylop260
Copy link
Contributor

@moylop260 moylop260 commented Apr 29, 2019

@moylop260 moylop260 self-assigned this Apr 29, 2019
@pedrobaeza
Copy link
Member

Not sure this is a good idea, as I remember to see some tracebacks that are catched by a try and tested, and then they shouldn't go red.

@moylop260
Copy link
Contributor Author

assertRaises or/and odoo.tools.mute_logger is the solution for those kind of tests
Could you give us one real example in order to make the fix using this way?

@pedrobaeza
Copy link
Member

I see right now this one:

https://travis-ci.org/OCA/server-tools/jobs/525558942#L1635

My point is that this will turn red some branches.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Odoo 12+ False success build if demo data can't install
2 participants