def assert_ok(response, msg_prefix=''):
 return assert_code(response, 200, msg_prefix=msg_prefix)

def assert_ok ( response , msg_prefix = '' ) : return assert_code ( response , 200 , msg_prefix = msg_prefix )
asserts the response was returned with status 200 .