Update tests/test_addons_path.py
Some checks are pending
ci / main (push) Waiting to run

This commit is contained in:
gitea_admin 2024-10-28 10:40:25 +00:00
parent 4bc1fd99c0
commit f0cca23814

View File

@ -14,6 +14,6 @@ def test_addons_path():
with install_test_addons(["addon_success"]): with install_test_addons(["addon_success"]):
assert ( assert (
Path(os.environ["ODOO_RC"]).read_text() Path(os.environ["ODOO_RC"]).read_text()
== "[options]\naddons_path=/opt/odoo/addons,.\n" == "[options]\naddons_path=/mnt/extra-addons,.\n"
) )
subprocess.check_call(["python", "-c", "import odoo.cli"]) subprocess.check_call(["python", "-c", "import odoo.cli"])