def tearDownClass(cls): # Stop server. cls.app.die() # Stop browser. if hasattr(cls, 'browser'): cls.browser.quit() sample_apps.teardown()
def finalizer(): browser.quit() sample_apps.teardown()
def teardown_browser_and_server(total): print("terminating browser") world.browser.quit() sample_apps.teardown()