def testInterfaces(self): """Ensure that tool instances implement the correct interface""" from Products.RhaptosRepository.interfaces.IRepository import IRepository from Products.RhaptosRepository.interfaces.IVersionStorage import IStorageManager #from Products.ZopeVersionControl.IVersionControl import IVersionControl self.failUnless(IRepository.isImplementedBy(self.content)) self.failUnless(IStorageManager.isImplementedBy(self.content))
def testInterfaces(self): """Ensure that tool instances implement the correct interface""" from Products.RhaptosRepository.interfaces.IRepository import IRepository from Products.RhaptosRepository.interfaces.IVersionStorage import IStorageManager #from Products.ZopeVersionControl.IVersionControl import IVersionControl self.failUnless(IRepository.isImplementedBy(self.content)) self.failUnless(IStorageManager.isImplementedBy(self.content))
def testInterfaces(self): """Ensure that tool instances implement the correct interface""" self.failUnless(IStorageManager.isImplementedBy(self.content))
def test_storage_interface(self): # Make sure that the repository implements the expected interface. self.failUnless(IStorageManager.isImplementedBy(self.repo))
def test_storage_interface(self): # Make sure that the repository implements the expected interface. self.failUnless(IStorageManager.isImplementedBy(self.repo))
def testInterfaces(self): """Ensure that tool instances implement the correct interface""" self.failUnless(IStorageManager.isImplementedBy(self.content))