Commit Graph

8 Commits

Author SHA1 Message Date
Rémy Taymans
a0307847b9 Allow mocking the ODOO_RPC_URL for testing
Depending of the test environment, the url of the odoo container may
change.

Using pytest in a local shell, Odoo will be available at 0.0.0.0
address.

Using pytest in a docker-in-docker environment, the url for the Odoo
container will be exposed on a different address depending on the
configuration of the docker-in-docker environment.

The mock check whether the user has configured a différent URL for the
Odoo RPC calls, and set it accordingly using mock feature.

In the gitlab-ci, the ODOO_RPC_URL should be used to set the correct
address for the RPC calls.
2023-11-09 16:21:20 +01:00
Sylvain LE GAL
842e2ca389 various 2022-06-29 17:45:21 +02:00
Sylvain LE GAL
1261dfaa2f [REF] Add logger in test 2022-06-29 17:37:08 +02:00
Sylvain LE GAL
7fca87bae7 [FIX] GREENIFY ALL THE TESTgit status! 2022-06-29 15:50:17 +02:00
Sylvain LE GAL
ae3619e766 [REF] replace click-odoo by calling shell command directly 2022-06-29 15:13:13 +02:00
Sylvain LE GAL
b37bfa8e31 [REF] create tools & cli folders 2022-06-27 01:57:31 +02:00
Sylvain LE GAL
57377fe924 [REF] merge version and release concept and simplify version settings 2022-06-22 00:28:41 +02:00
Sylvain LE GAL
ecd03ba392 [REF][WIP] remove xml_rpc connexion to make CI green, and replace by click_odoo script 2022-05-31 16:40:03 +02:00