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)
def tearDownClass(cls): TestApp.tearDownClass() cls.browser.quit()