def tearDownClass(cls): """ Remove the temporary directory. """ cls.temp_dir.cleanup() LiveServerTestCase.tearDownClass()
def tearDownClass(cls): if cls.server_url == cls.live_server_url: LiveServerTestCase.tearDownClass()
def tearDownClass(cls): cls.browser.quit() if cls.display: cls.display.stop() if cls.server_url == cls.live_server_url: LiveServerTestCase.tearDownClass()
def tearDownClass(cls): if cls.server_url == cls.live_server_url: LiveServerTestCase.tearDownClass()
def tearDownClass(cls): LiveServerTestCase.tearDownClass() cls.browser.quit()
def tearDownClass(cls): """docstring for tearDownClass""" if cls.server_url == cls.live_server_url: LiveServerTestCase.tearDownClass()
def tearDownClass(cls): #if cls.server_url == cls.live_server_url: if cls.server_url == "http://127.0.0.1:8081/": LiveServerTestCase.tearDownClass()
def tearDownClass(cls): cls.browser.quit() if cls.display: cls.display.stop() if cls.server_url == cls.live_server_url: LiveServerTestCase.tearDownClass()
def stop_liveserver_if_needed(cls): if cls.has_liveserver: LiveServerTestCase.tearDownClass() cls.selenium.quit()
def tearDownClass(cls): if not cls.against_staging: LiveServerTestCase.tearDownClass()
def tearDownClass(cls): cls.driver.quit() LiveServerTestCase.tearDownClass()
def tearDownClass(cls): """ Cleanup global test/live test environment """ if cls.server_url == cls.live_server_url: LiveServerTestCase.tearDownClass()
def tearDownClass(cls): """ Cleanup test client environment after all tests """ if cls.server_url == cls.live_server_url: LiveServerTestCase.tearDownClass()