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.
2 parents 0f50d16 + 2411d23 commit d33c3baCopy full SHA for d33c3ba
tests/test_utils/test_distroutils.py
@@ -1,16 +1,9 @@
1
-import unittest
2
-
3
from linkml_runtime.utils.distroutils import get_jsonschema_string, get_schema_string
4
5
6
-class DistroUtilsTestCase(unittest.TestCase):
7
- def test_distroutils(self):
8
- p = "linkml_runtime.linkml_model.meta"
9
- js = get_jsonschema_string(p)
10
- assert "ClassDefinition" in js
11
- ys = get_schema_string(p)
12
- assert "class_definition" in ys
13
14
15
-if __name__ == "__main__":
16
- unittest.main()
+def test_distroutils():
+ p = "linkml_runtime.linkml_model.meta"
+ js = get_jsonschema_string(p)
+ assert "ClassDefinition" in js
+ ys = get_schema_string(p)
+ assert "class_definition" in ys
0 commit comments