Exemplo n.º 1
0
    def setUpClass(cls):
        """
        Create a Firefox test browser instance with hacked settings.

        We do this only once per testing module.
        """
        TestApp.setUpClass()
        profile = webdriver.firefox.firefox_profile.FirefoxProfile()
        cls.browser = webdriver.Firefox(firefox_profile=profile)
Exemplo n.º 2
0
 def tearDownClass(cls):
     TestApp.tearDownClass()
     cls.browser.quit()