def testTopicAdaption(self): self.folder.invokeFactory('Topic', 'topic') map = IMap(self.folder.topic) self.failUnless(IMap.providedBy(map)) self.failUnless(verifyObject(IMap, map))
def testFolderAdaption(self): map = IMap(self.folder) self.failUnless(IMap.providedBy(map)) self.failUnless(verifyObject(IMap, map))