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))
예제 #2
0
    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))
예제 #5
0
 def test_storage_interface(self):
     # Make sure that the repository implements the expected interface.
     self.failUnless(IStorageManager.isImplementedBy(self.repo))
예제 #6
0
 def testInterfaces(self):
     """Ensure that tool instances implement the correct interface"""
     self.failUnless(IStorageManager.isImplementedBy(self.content))