Simon Maillard
0ba79d59ba
[IMP] code layout
2024-12-12 10:40:10 +00:00
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
Simon Maillard
5a854287c7
[ADD] Add shell command
...
To jump in an odoo shell on an instance already started using odoo run
2024-12-09 09:09:53 +00:00
Sylvain LE GAL
0bfacbd133
fixup! [ADD] guess requirements feature
2024-11-05 01:00:52 +01:00
Sylvain LE GAL
3b3d652756
[ADD] guess requirements feature
2024-11-04 20:42:07 +01:00
Simon Maillard
f0bc155c3b
[FIX] psycopg2 / pg versions auth conflict
...
Downgrade auth method/encryption to md5 if initial odoo version is <=12
and postgres version >=14
2024-10-09 14:50:59 +02:00
Ahmet Yiğit Budak
c08accffac
[IMP] Improve test checking database exist
2024-10-03 11:55:52 +00:00
Simon Maillard
23cc76f7f0
[IMP] Improve tests around custom migration scripts
2024-08-21 16:02:00 +02:00
Rémy Taymans
f1cf0dac23
Apply all suggestion made by Rémy Taymans.
2024-03-23 21:59:12 +01:00
Sylvain LE GAL
a73de5f240
[REF] apply f-string to improve readability
2024-03-23 20:53:57 +01: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
a11d137eed
[IMP] oow init : new option --postgresql-version
2024-03-22 20:30:43 +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
Sylvain LE GAL
748d5a54f6
[ADD] restoredb function
2024-03-02 23:59:36 +01:00
Rémy Taymans
30198392c5
[ADD] dropdb
2024-02-22 08:53:45 +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
Sylvain LE GAL
8235481032
[FIX] fix copydb tests. do no use case sensitive database name
2023-11-07 10:25:22 +01:00
Sylvain LE GAL
7a31cc666d
[FIX] copydb : add the copy of the filestore
...
[DOC] Add documentation section for the copydb function
2023-07-17 14:12:14 +02:00
Rémy Taymans
f130ecf078
[ADD] dumpdb: tests
2023-07-12 08:35:20 +02:00
Rémy Taymans
284417bb00
[ADD] psql command
2023-05-09 21:34:17 +02:00
Rémy Taymans
15088c9d0f
[FIX] config: indentation
2023-03-17 00:16:00 +01:00
Rémy Taymans
a04353b683
[ADD] estimate-workload: ignored module list
2023-03-16 23:26:45 +01:00
Rémy Taymans
cfb0c8b65e
[FIX] Typo in config file
2023-01-11 12:32:40 +01:00
Sylvain LE GAL
bdc9b606ec
[IMP] Add postgresql custom configuration ; [ADD] extra setting into odoo_default_company key. (in config.yml file) ; [ADD] odoo_rpc_timeout extra settings ; [FIX] restore call to custom odoo.cfg file
2022-10-11 12:26:41 +02:00
Sylvain LE GAL
531978eb00
[ADD] repos url git log!
2022-07-12 00:55:36 +02:00
Sylvain LE GAL
d7a576890a
[IMP] prune postgres container
2022-07-11 16:46:08 +02:00
Sylvain LE GAL
72cbc90b61
[FIX] CI
2022-07-11 16:08:52 +02:00
Sylvain LE GAL
e6e05c6ab7
[FIX] CI
2022-07-11 15:50:41 +02:00
Sylvain LE GAL
acb02fd9cc
wip de chez wip
2022-07-01 13:38:59 +02:00
Sylvain LE GAL
a964efd029
wip
2022-06-29 22:12:29 +02:00
Sylvain LE GAL
798e27ab16
[IMP] add logger in execute_sql_file
2022-06-29 20:13:08 +02:00
Sylvain LE GAL
f44ac7f7cd
[FIX] par exemple, introduire des bugs, c'est pas gentils (2)
2022-06-29 18:15:14 +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
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
1ead68bef0
[REF] remove click-odoo that requires to import odoo that is a mess
2022-06-29 14:12:12 +02:00
Sylvain LE GAL
8035ba2871
[FIX] various test. Readd odoorpc in the requilrements.txt file to generate_module_analysis and add comments in the file
2022-06-29 11:25:29 +02:00
Sylvain LE GAL
b22d9b5ad4
[FIX] cli_06_execute_script_sql_test.py
2022-06-29 11:08:38 +02:00
Sylvain LE GAL
4d3bb66e4e
[FIX] test from 01 to 04
2022-06-28 16:45:44 +02:00
Sylvain LE GAL
b64c445cb4
[WIP]
2022-06-28 01:06:23 +02:00
Sylvain LE GAL
80e5e3ad87
[REF] Dockerfiles : switch from odoo/odoo to acsone/odoo-bedrock
2022-06-27 15:56:28 +02:00
Sylvain LE GAL
b37bfa8e31
[REF] create tools & cli folders
2022-06-27 01:57:31 +02:00
Sylvain LE GAL
f895b7d05a
[REF] move all templates present in python file into a 'templates' subfolder
2022-06-27 00:34:39 +02:00
Sylvain LE GAL
8836c2c656
[IMP] make resilient the call estimate-workload if some modules are unknown
2022-06-26 21:28:12 +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
d23804f4b4
[IMP] allow to call run with a specific execution_context
2022-06-21 13:03:31 +02:00