(response, n_secs)
sleep n seconds after request
sleep n seconds after request
sleep n seconds after request
def teardown_hook_sleep_N_secs(response, n_secs):
    """ sleep n seconds after request
    """
    if response.status_code == 200:
        time.sleep(0.1)
    else:
        time.sleep(n_secs)
def teardown_hook_sleep_N_secs ( response , n_secs ) : if response . status_code == 200 : time . sleep ( 0.1 ) else : time . sleep ( n_secs )