Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/o/collective.googleanalytics-1.4.3/src/collective/googleanalytics/tests/test_setup.py   collective.googleanalytics(Download)
 
        # Reinstall the product.
        self.setRoles(['Manager'])
        quick_installer = getToolByName(self.portal, "portal_quickinstaller")
        quick_installer.reinstallProducts(products=['collective.googleanalytics',])
 
        # Reinstall the product.
        self.setRoles(['Manager'])
        quick_installer = getToolByName(self.portal, "portal_quickinstaller")
        quick_installer.reinstallProducts(products=['collective.googleanalytics',])

src/c/o/collective.googleanalytics-1.4.3/src/collective/googleanalytics/tests/test_permissions.py   collective.googleanalytics(Download)
        """
 
        self.setRoles(['Manager'])
 
        context = self.folder