[FIX] GREENIFY ALL THE TESTgit status!

This commit is contained in:
Sylvain LE GAL 2022-06-29 15:50:17 +02:00
parent ae3619e766
commit 7fca87bae7
3 changed files with 7 additions and 4 deletions

View File

@ -4,3 +4,7 @@ _logger = logging.getLogger(__name__)
_logger.info("Executing post-migration.py script ...")
env = env # noqa: F821
# Write custom script here
env.cr.commit()

View File

@ -166,6 +166,7 @@ def run_odoo(
database=database,
execution_context=execution_context,
alternative_xml_rpc_port=alternative_xml_rpc_port,
links=links,
)

View File

@ -10,16 +10,14 @@ from . import (
def test_cli_generate_module_analysis():
# hum... TODO fix me what this test is broken...
return
move_to_test_folder()
db_name = "database_test_cli___generate_module_analysis"
ctx = build_ctx_from_config_file()
# identify main analysis file of openupgrade
analysis_file_path = get_odoo_env_path(ctx, 14.0) / Path(
analysis_file_path = get_odoo_env_path(ctx, 15.0) / Path(
"src/openupgrade/openupgrade_scripts/scripts"
"/base/14.0.1.3/upgrade_general_log.txt"
"/base/15.0.1.3/upgrade_general_log.txt"
)
# We remove this file and run the analysis