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 4d41040 + 3bd315c commit 2411d23Copy full SHA for 2411d23
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