Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.0] Refactor test by using odoo-test-lib #46

Closed
wants to merge 1 commit into from

Conversation

sebastienbeau
Copy link
Member

As I have some issue in base_url I am playing on a new implementation of testing with fake model.
if you want to comment please comment here : shopinvader/odoo-shopinvader#607

@sebastienbeau sebastienbeau added the enhancement New feature or request label Apr 5, 2020
@sebastienbeau sebastienbeau changed the title [WIP] test new helper for loading fake model, do not merge [10.0][WIP] test new helper for loading fake model, do not merge Apr 5, 2020
@sebastienbeau
Copy link
Member Author

@lmignon @sbidoul any idea why the build on wheel fail?

@sbidoul
Copy link
Member

sbidoul commented Apr 5, 2020

@sebastienbeau I suspect it is due to this hack. I don't know why it is there and what would happen if we remove it though.

@sbidoul
Copy link
Member

sbidoul commented Apr 5, 2020

You can add MQT_DEP=PIP in the global env section of .travis.yml to enable a modern installation method that does not depend on oca_dependencies.txt nor requirements.txt, and is free of historical cruft. This may help.

@sebastienbeau sebastienbeau force-pushed the 10.0-test-helper branch 2 times, most recently from ab27224 to 7156f04 Compare April 6, 2020 12:09
@sebastienbeau
Copy link
Member Author

sebastienbeau commented Apr 16, 2020

Last failling test seem to be linked to a change in elastic lib (POST instead of a GET)

With the old lib version
Sélection_039

With the new one
Sélection_038

I am going to re-record the test

@sebastienbeau
Copy link
Member Author

@sbidoul @gurneyalex It's seem that we have an issue with the version of cachetools on runbot any idea?

In order to avoid duplicated code between projet
The odoo-test-lib include an helper to load fake models
use it
@sebastienbeau sebastienbeau changed the title [10.0][WIP] test new helper for loading fake model, do not merge [10.0] Refactor test by using odoo-test-lib Apr 17, 2020
@sebastienbeau
Copy link
Member Author

I am closing this PR as keep the focus on last version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants