#NEWLINE# def test_clean_response( ) : #NEWLINE# #INDENT# atr = AccessTokenResponse ( access_token = 'access_token' , token_type = 'bearer' , expires_in = 600 , refresh_token = 'refresh' , steps = 39 , stalls = 'yes' ) #NEWLINE# catr = clean_response ( atr ) #NEWLINE# atr_keys = atr . keys ( ) #NEWLINE# catr_keys = catr . keys ( ) #NEWLINE# assert _eq ( atr_keys , [ 'token_type' , 'access_token' , 'expires_in' , 'refresh_token' , 'steps' , 'stalls' ] ) #NEWLINE# assert _eq ( atr , [ 'token_type' , 'access_token' , 'expires_in' , 'refresh_token' ] )