def shut_down(): """Shut down the web service and destroys the database.""" admin = mymodule.get_admin_client() if admin.service_is_up: mymodule.stop_web_server() assert_false(admin.service_is_up()) mymodule.destroy_database()
def test_destroy_database(self): """Destroy the local database.""" mymodule.destroy_database()