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