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 : <http://loutre.fr/>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
:FirstClass a owl:Class.
:SubClass a owl:Class;
rdfs:subClassOf :FirstClass.
from yams.buildobjs import *
class FirstClass(EntityType):
pass
class SubClass(FirstClass):
pass
......@@ -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__":
unittest.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