Skip to content

Commit

Permalink
[FIX] Skip test test_addons_filtered, test_dotd and test_dependencies…
Browse files Browse the repository at this point in the history
…_base_search_fuzzy

if odoo version is 17.0
  • Loading branch information
josep-tecnativa committed Nov 10, 2023
1 parent 6c804ac commit f5e6992
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def compose_test(self, workdir, sub_env, *commands):
def test_addons_filtered(self):
"""Test addons filtering with ``ONLY`` keyword in ``addons.yaml``."""
project_dir = join(SCAFFOLDINGS_DIR, "dotd")
for sub_env in matrix():
for sub_env in matrix(odoo_skip={"17.0"}):
self.compose_test(
project_dir,
dict(sub_env, DBNAME="prod"),
Expand Down Expand Up @@ -367,7 +367,7 @@ def test_addons_env_double(self):

def test_dotd(self):
"""Test environment with common ``*.d`` directories."""
for sub_env in matrix():
for sub_env in matrix(odoo_skip={"17.0"}):
self.compose_test(
join(SCAFFOLDINGS_DIR, "dotd"),
sub_env,
Expand Down Expand Up @@ -456,7 +456,7 @@ def test_dependencies(self):
def test_dependencies_base_search_fuzzy(self):
"""Test dependencies installation."""
dependencies_dir = join(SCAFFOLDINGS_DIR, "dependencies_base_search_fuzzy")
for sub_env in matrix():
for sub_env in matrix(odoo_skip={"17.0"}):
self.compose_test(
dependencies_dir,
sub_env,
Expand Down

0 comments on commit f5e6992

Please sign in to comment.