Simon Maillard
8b75c94d22
[FIX] Mount volume in docker need absolute path
...
Fixes
E docker.errors.APIError: 400 Client Error for http://dind:2375/v1.47/containers/create?name=oow-test-cli-database_test_cli___shell-14.0-step-01 : Bad Request ("create .: volume name is too short, names should be at least two alphanumeric characters")
/root/.cache/pypoetry/virtualenvs/odoo-openupgrade-wizard-0zCHEn-Y-py3.9/lib/python3.9/site-packages/docker/errors.py:39: APIError
2024-12-09 09:40:34 +00:00
Sylvain LE GAL
e124f3d27f
[REF] factorize code : allways set --log-level=DEBUG in test framework
2024-03-22 23:49:52 +01:00
Sylvain LE GAL
b7e3587767
[IMP] add new assert_database test function and harmonize tests for restoredb, copydb, dropdb
2024-03-02 23:59:36 +01:00
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
Rémy Taymans
f130ecf078
[ADD] dumpdb: tests
2023-07-12 08:35:20 +02:00
Sylvain LE GAL
4427470a41
various
2022-06-29 17:46:58 +02:00
Sylvain LE GAL
842e2ca389
various
2022-06-29 17:45:21 +02:00
Sylvain LE GAL
9f5dea8a00
[REF] test add absolute file path
2022-06-29 17:40:38 +02:00
Sylvain LE GAL
1261dfaa2f
[REF] Add logger in test
2022-06-29 17:37:08 +02:00
Sylvain LE GAL
424131e9b2
[REF] Remove bind fucking mounts (postgres) replaced by nice volumes
2022-06-29 16:28:48 +02:00
Sylvain LE GAL
b37bfa8e31
[REF] create tools & cli folders
2022-06-27 01:57:31 +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
Sylvain LE GAL
ac834c6525
[IMP] add test on generate-module-analysis
2022-05-06 21:15:25 +02:00
Sylvain LE GAL
c34f74f320
wip
2022-05-05 20:17:07 +02:00
Sylvain LE GAL
dce91df36d
[WIP]
2022-04-27 15:18:18 +02:00