-
-
Notifications
You must be signed in to change notification settings - Fork 354
[19.0] [MIG] fastapi: Migration to 19.0 #569
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
base: 19.0
Are you sure you want to change the base?
Conversation
|
Hi @lmignon, |
|
@lmignon @StefanRijnhart @pedrobaeza @sbidoul You now have to specify the --with-demo argument yourself when demo data needs to be installed. |
|
@rven IMO we should no more rely on demo data for tests. All tests have been adapted in Odoo, and we should do the same when migrating OCA modules. |
|
@lmignon The power of the demo data is that a preset of data is loaded to do the validation when testing the functionality. |
|
Yes, I was defending since a lot even before Odoo did the move that data used in tests should be populated in the test itself instead of using demo data. Now with this Odoo move, it makes it more mandatory, and IMO we shouldn't force to load demo data. The goal of the demo data is different than the tests, but to showcase the features of the module, or to provide basics for testing manually in runboat/runbot. One possible drawback is if runboat also don't load demo data, so if it's the case, then we should rethink it. |
|
@rven see DynAppsNV#1 😏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the migration.
Code Review + Functional tests
|
When is this expected to be merged ? |
@abdullahoday710 This PR depends on OCA/web-api#117. It cannot be merged until the other one is merged. A review of these pending PRs will allow them to be merged. |
No description provided.