diff --git a/tests/test_database.py b/tests/test_database.py index fc99b61c31..39417dd684 100644 --- a/tests/test_database.py +++ b/tests/test_database.py @@ -28,7 +28,6 @@ ## Checking MAPDL versions from ansys.mapdl.core.database import MINIMUM_MAPDL_VERSION, DBDef, MapdlDb -from ansys.mapdl.core.database.database import FAILING_DATABASE_MAPDL from ansys.mapdl.core.errors import MapdlRuntimeError, MapdlVersionError from ansys.mapdl.core.misc import random_string from conftest import ON_CI @@ -105,17 +104,12 @@ def test_database_start_stop(mapdl): f"This MAPDL version ({mapdl_version}) is not compatible with the Database module." ) - # Exception for 22.2 - if mapdl_version == "22.2" and ON_CI: + # Exceptions + if mapdl_version in ["22.2", "23.1", "23.2", "24.1", "24.2", "25.1"] and ON_CI: pytest.skip( f"This MAPDL version ({mapdl_version}) docker image seems to not support DB, but local does." ) - if mapdl_version in FAILING_DATABASE_MAPDL: - pytest.skip( - f"This MAPDL version ({mapdl_version}) docker image does not support Database module." - ) - # verify it can be created twice mapdl.prep7() for _ in range(2):