def test_build_skos_registry_default_settings(self):
     r = TestRegistry()
     SR = _build_skos_registry(r)
     self.assertIsInstance(SR, Registry)
Exemple #2
0
 def test_build_skos_registry_default_settings(self):
     r = TestRegistry()
     SR = _build_skos_registry(r)
     self.assertIsInstance(SR, Registry)
 def test_build_skos_registry_already_exists(self):
     r = TestRegistry()
     SR = Registry()
     r.registerUtility(SR, ISkosRegistry)
     SR2 = _build_skos_registry(r)
     self.assertEqual(SR, SR2)
Exemple #4
0
 def test_build_skos_registry_already_exists(self):
     r = TestRegistry()
     SR = Registry()
     r.registerUtility(SR, ISkosRegistry)
     SR2 = _build_skos_registry(r)
     self.assertEqual(SR, SR2)