def test_adding(self):
     self.portal.invokeFactory('ReportConfiguration', 'ReportConfiguration')
     self.assertTrue(
         IReportConfiguration.providedBy(self.portal['ReportConfiguration'])
     )
Exemple #2
0
 def test_adding(self):
     self.portal.invokeFactory('ReportConfiguration', 'ReportConfiguration')
     self.assertTrue(
         IReportConfiguration.providedBy(
             self.portal['ReportConfiguration']))
 def test_factory(self):
     fti = queryUtility(IDexterityFTI, name='ReportConfiguration')
     factory = fti.factory
     obj = createObject(factory)
     self.assertTrue(IReportConfiguration.providedBy(obj))
Exemple #4
0
 def test_factory(self):
     fti = queryUtility(IDexterityFTI, name='ReportConfiguration')
     factory = fti.factory
     obj = createObject(factory)
     self.assertTrue(IReportConfiguration.providedBy(obj))