Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "validmind"
version = "2.9.5"
version = "2.9.6"
description = "ValidMind Library"
readme = "README.pypi.md"
requires-python = ">=3.9,<3.13"
Expand Down
2 changes: 1 addition & 1 deletion validmind/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.9.5"
__version__ = "2.9.6"
6 changes: 6 additions & 0 deletions validmind/tests/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ def load_test(
# add inputs and params as attributes to the test function
test_func.inputs, test_func.params = _inspect_signature(test_func)

# ensure tags and tasks attributes exist, default to empty list if not present
if not hasattr(test_func, "__tags__"):
test_func.__tags__ = []
if not hasattr(test_func, "__tasks__"):
test_func.__tasks__ = []

test_store.register_test(test_id, test_func)

return test_store.get_test(test_id)
Expand Down
Loading