Skip to content

Commit d042b38

Browse files
committed
adapt tests
1 parent 438f51a commit d042b38

2 files changed

Lines changed: 7 additions & 112 deletions

File tree

tests/test_base.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# Paths for models and configs
99
MODEL_MODULE_PATH = "mambular.base_models"
1010
CONFIG_MODULE_PATH = "mambular.configs"
11+
EXCLUDED_CLASSES = {"TabR"}
1112

1213
# Discover all models
1314
model_classes = []
@@ -22,7 +23,12 @@
2223
module = importlib.import_module(module_name)
2324

2425
for name, obj in inspect.getmembers(module, inspect.isclass):
25-
if issubclass(obj, BaseModel) and obj is not BaseModel:
26+
if (
27+
issubclass(obj, BaseModel)
28+
and obj is not BaseModel
29+
and obj.__name__ not in EXCLUDED_CLASSES
30+
):
31+
2632
model_classes.append(obj)
2733

2834

tests/test_preprocessor.py

Lines changed: 0 additions & 111 deletions
This file was deleted.

0 commit comments

Comments
 (0)