odoo-openupgrade-wizard/odoo_openupgrade_wizard/tools
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
..
tools_click_odoo_contrib.py [FIX] copydb : add the copy of the filestore 2023-07-17 14:12:14 +02:00
tools_docker.py Wait for the container name to be truly freed before returning 2023-07-13 14:24:20 +00:00
tools_odoo_instance.py Allow mocking the ODOO_RPC_URL for testing 2023-11-09 16:21:20 +01:00
tools_odoo_module.py [ADD] estimate-workload: ignored module list 2023-03-16 23:26:45 +01:00
tools_odoo.py [REF] trivial refacgtoring avoid to compute odoo_folder for each key in data.keys() 2022-11-10 20:52:40 +01:00
tools_postgres.py [ADD] dumpdb command 2023-07-12 08:32:57 +02:00
tools_system.py [ADD] dumpdb command 2023-07-12 08:32:57 +02:00