Пример #1
0
 def test_Interface( self ):
     from Products.CMFTopic.interfaces import Criterion
     from Products.CMFTopic.SimpleStringCriterion \
         import SimpleStringCriterion
     self.failUnless(
         Criterion.isImplementedByInstancesOf( SimpleStringCriterion ) )
Пример #2
0
 def test_Interface(self):
     from Products.CMFTopic.interfaces import Criterion
     from Products.CMFTopic.SortCriterion import SortCriterion
     self.failUnless(Criterion.isImplementedByInstancesOf(SortCriterion))
Пример #3
0
 def test_Interface(self):
     from Products.CMFTopic.interfaces import Criterion
     from Products.CMFTopic.DateCriteria import FriendlyDateCriterion
     self.failUnless(
         Criterion.isImplementedByInstancesOf(FriendlyDateCriterion))
Пример #4
0
 def test_Interface( self ):
     from Products.CMFTopic.interfaces import Criterion
     self.failUnless(
         Criterion.isImplementedByInstancesOf( FriendlyDateCriterion ) )
Пример #5
0
 def test_Interface( self ):
     from Products.CMFTopic.interfaces import Criterion
     from Products.CMFTopic.ListCriterion import ListCriterion
     self.failUnless(
         Criterion.isImplementedByInstancesOf( ListCriterion ) )