diff --git a/tests/test_addons_path.py b/tests/test_addons_path.py deleted file mode 100644 index fc6f341..0000000 --- a/tests/test_addons_path.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import subprocess -from pathlib import Path - -from .common import install_test_addons - - -def test_addons_path(): - """Test must not fail where there are no installable addons.""" - assert ( - Path(os.environ["ODOO_RC"]).read_text() - == "[options]\n" - ) - with install_test_addons(["addon_success"]): - assert ( - Path(os.environ["ODOO_RC"]).read_text() - == "[options]\naddons_path=/mnt/extra-addons,.\n" - ) - subprocess.check_call(["python", "-c", "import odoo.cli"])