Commit 5092cd03 authored by Fabien Amarger's avatar Fabien Amarger
Browse files

feat(test): Add test attribute

parent 74ddd091ef27
@prefix : <>.
@prefix owl: <>.
@prefix rdfs: <>.
@prefix xsd: <>.
:FirstClass a owl:Class.
:toto a owl:DatatypeProperty;
rdfs:domain :FirstClass;
rdfs:range xsd:int.
from yams.buildobjs import *
class FirstClass(EntityType):
toto = Int()
......@@ -28,6 +28,9 @@
def test_transform_class(self):
self._load_owl_and_yams("test_class.owl", "test_class.yams")
def test_transform_attribute(self):
self._load_owl_and_yams("test_attribute.owl", "test_attribute.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