Exemplo n.º 1
0
 def test_build_skos_registry_default_settings(self):
     r = TestRegistry()
     SR = _build_skos_registry(r)
     self.assertIsInstance(SR, Registry)
Exemplo n.º 2
0
 def test_build_skos_registry_default_settings(self):
     r = TestRegistry()
     SR = _build_skos_registry(r)
     self.assertIsInstance(SR, Registry)
Exemplo n.º 3
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)
Exemplo n.º 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)