We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f263b9 commit ba677c6Copy full SHA for ba677c6
tests/test_utils/test_schemaview.py
@@ -983,6 +983,11 @@ def test_materialize_nonscalar_slot_usage(self):
983
assert cls.attributes["tempo"].annotations.expected_value.value == "a number between 0 and 200"
984
assert cls.attributes["tempo"].annotations.preferred_unit.value == "BPM"
985
986
+ assert cls.attributes["tempo"].domain_of == ["DJController"]
987
+ # ensure that domain_of is not being populated in slot_usage
988
+ # test for https://github.com/linkml/linkml/pull/2262 from upstream linkml
989
+ assert cls.slot_usage["tempo"].domain_of == []
990
+
991
992
if __name__ == '__main__':
993
unittest.main()
0 commit comments