Commit 8701157f authored by Fabien Amarger's avatar Fabien Amarger
Browse files

feat(test): Add test hierarchy

parent 85bc50c4fc39
Pipeline #90252 passed with stages
in 3 minutes and 5 seconds
@prefix : <>.
@prefix owl: <>.
@prefix rdfs: <>.
:FirstClass a owl:Class.
:SubClass a owl:Class;
rdfs:subClassOf :FirstClass.
from yams.buildobjs import *
class FirstClass(EntityType):
class SubClass(FirstClass):
......@@ -34,6 +34,9 @@
def test_transform_relation(self):
self._load_owl_and_yams("test_relation.owl", "test_relation.yams")
def test_transform_hierarchy(self):
self._load_owl_and_yams("test_hierarchy.owl", "test_hierarchy.yams")
if __name__ == "__main__":
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment