def test_factory(self):
     fti = queryUtility(IDexterityFTI, name='openmultimedia.reporter.anonreport')
     factory = fti.factory
     new_object = createObject(factory)
     self.assertTrue(IAnonReport.providedBy(new_object))
 def test_addable_inside_i_report_section(self):
     self.section.invokeFactory('openmultimedia.reporter.anonreport', 'r1')
     r1 = self.section['r1']
     self.assertTrue(IAnonReport.providedBy(r1))