Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Mar 15, 2024
1 parent dc6a986 commit bc4932b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/unit/build_tests/mapper_tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@

from tests.unit.helpers.utils import CORE_NAMESPACE


try:
import linkml_runtime # noqa: F401
LINKML_INSTALLED = True
except ImportError:
LINKML_INSTALLED = False
# TODO: test build of extended group/dataset that modifies an attribute dtype (commented out below), shape, value, etc.
# by restriction. also check that attributes cannot be deleted or scope expanded.
# TODO: test build of extended dataset that modifies shape by restriction.
Expand Down Expand Up @@ -470,6 +474,7 @@ def get_refined_bar_data_spec(self):
)
return refined_spec

@unittest.skipIf(not LINKML_INSTALLED, "optional LinkML module is not installed")
def test_build_added_attr(self):
"""
Test build of BarHolder which can contain multiple extended BarData objects, which have a new attribute.
Expand Down

0 comments on commit bc4932b

Please sign in to comment.