def afterSetUp(self):
        TestXHTML.afterSetUp(self)
        localizer = self.portal.Localizer

        for i in target_catalog:
            localizer.manage_delObjects(i)
            localizer.manage_addProduct['Localizer'].manage_addMessageCatalog(
                id=i, title='', languages=('en', ))
Example #2
0
  def afterSetUp(self):
    TestXHTML.afterSetUp(self)
    localizer = self.portal.Localizer

    for i in target_catalog:
      localizer.manage_delObjects(i)
      localizer.manage_addProduct['Localizer'].manage_addMessageCatalog(
        id=i, title='', languages=('en',))