Skip to content
This repository was 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
moylop260 wants to merge 1 commit intoOCA:masterfrom
vauxoo-dev:oca-fix-false-green-moy
Open

[REF] has_test_errors: Detect error if there is a traceback in the log#601
moylop260 wants to merge 1 commit intoOCA:masterfrom
vauxoo-dev:oca-fix-false-green-moy

Conversation

@moylop260
Copy link
Copy Markdown
Contributor

@moylop260 moylop260 commented Apr 29, 2019

@moylop260 moylop260 self-assigned this Apr 29, 2019
@moylop260 moylop260 force-pushed the oca-fix-false-green-moy branch from c8219ad to 2182c33 Compare April 29, 2019 20:11
@pedrobaeza
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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