Commits

William Waites  committed 4983067

tweak tests to match the docs

  • Participants
  • Parent commits 3e1a174

Comments (0)

Files changed (1)

File ordf/tests/test_owl.py

 class CountryClass(Class):
     def __init__(self, **kw):
         super(CountryClass, self).__init__(EX.Country, **kw)
-        self.subClassOf = PlaceClass(graph=self.graph, factoryGraph=self.factoryGraph)
+        self.subClassOf = PlaceClass(graph=self.graph)
         self.factoryClass = Country
         self.label = "Country"
 
 class CityClass(Class):
     def __init__(self, **kw):
         super(CityClass, self).__init__(EX.City, **kw)
-        self.subClassOf = PlaceClass(graph=self.graph, factoryGraph=self.factoryGraph)
+        self.subClassOf = PlaceClass(graph=self.graph)
         self.factoryClass = City
         self.label = "City"