diff --git a/tests/test_preinstalled.py b/tests/test_preinstalled.py index 56e6384..3f57a3b 100644 --- a/tests/test_preinstalled.py +++ b/tests/test_preinstalled.py @@ -55,22 +55,3 @@ def _target_python_version(): ) major, minor = version.split(".")[:2] return int(major), int(minor) - - -@pytest.mark.skipif( - _target_python_version() < (3, 7), reason="Whool requires python3.7 or higher" -) -def test_import_odoo_after_addon_install(): - with make_addons_dir(["addon_success"]) as addons_dir: - addon_dir = addons_dir / "addon_success" - subprocess.check_call(["git", "init"], cwd=addon_dir) - subprocess.check_call(["git", "add", "."], cwd=addon_dir) - subprocess.check_call(["git", "config", "user.email", "..."], cwd=addon_dir) - subprocess.check_call( - ["git", "config", "user.name", "me@example.com"], cwd=addon_dir - ) - subprocess.check_call(["git", "commit", "-m", "..."], cwd=addon_dir) - subprocess.check_call( - ["python", "-m", "pip", "install", addons_dir / "addon_success"] - ) - subprocess.check_call(["python", "-c", "import odoo.cli"])