Esempio n. 1
0
 def testResolveContentish(self):
     # Contentish should be resolved
     dotted_name = getDottedName(Contentish)
     self.assertEqual(resolveInterface(dotted_name), Contentish)
 def testResolveContentish(self):
     # Contentish should be resolved
     dotted_name = getDottedName(IContentish)
     self.assertEqual(resolveInterface(dotted_name), IContentish)
Esempio n. 3
0
 def testResolveDublinCore(self):
     # DublinCore should be resolved
     dotted_name = getDottedName(DublinCore)
     self.assertEqual(resolveInterface(dotted_name), DublinCore)
 def testResolveDublinCore(self):
     # DublinCore should be resolved
     dotted_name = getDottedName(IDublinCore)
     self.assertEqual(resolveInterface(dotted_name), IDublinCore)