odoo-openupgrade-wizard/odoo_openupgrade_wizard
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
..
cli [FIX] copydb : add the copy of the filestore 2023-07-17 14:12:14 +02:00
templates Fix image debian changed repo to archive 2023-04-26 06:45:19 +00:00
tools Allow mocking the ODOO_RPC_URL for testing 2023-11-09 16:21:20 +01:00
__init__.py [REF] add ensure_folder_exists system 2022-04-08 19:09:24 +00:00
__main__.py [REF] add ensure_folder_exists system 2022-04-08 19:09:24 +00:00
configuration_version_dependant.py [ADD] odoo 16.0 template 2022-10-12 10:38:56 +02:00