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. |
||
|---|---|---|
| .. | ||
| tools_click_odoo_contrib.py | ||
| tools_docker.py | ||
| tools_odoo_instance.py | ||
| tools_odoo_module.py | ||
| tools_odoo.py | ||
| tools_postgres.py | ||
| tools_system.py | ||