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