[FIX] cli_06_execute_script_sql_test.py

This commit is contained in:
Sylvain LE GAL 2022-06-29 11:08:38 +02:00
parent 01b2a94cb4
commit b22d9b5ad4
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ def test_cli_execute_script_python():
db_name = "database_test_cli___execute_script_python"
ensure_database(ctx, db_name, state="absent")
# Install Odoo on V13 with base installed
# Install Odoo on V14 with base installed
cli_runner_invoke(
[
"--log-level=DEBUG",
@ -40,7 +40,7 @@ def test_cli_execute_script_python():
)
# Compute partners quantity
request = "SELECT count(*)" " FROM res_partner;"
request = "SELECT count(*) FROM res_partner;"
partner_quantity_before = int(
execute_sql_request(ctx, request, database=db_name)[0][0]
)

View File

@ -21,7 +21,7 @@ def test_cli_execute_script_sql():
).absolute()
# Deploy SQL Script
destination_path = Path("scripts/step_01__update__13.0")
destination_path = Path("scripts/step_01__update__14.0")
cp([extra_script_path, destination_path])
ctx = build_ctx_from_config_file()