#NEWLINE# def test_xmlrpc_with_legacy_key( self ) : #NEWLINE# #INDENT# self . overrides = test_util . override ( API_ALLOW_LEGACY_AUTH = True ) #NEWLINE# popular_ref = api . actor_get ( api . ROOT , 'popular' ) #NEWLINE# personal_key = legacy . generate_personal_key ( popular_ref ) #NEWLINE# params = { #NEWLINE# #INDENT# 'user' : 'popular' , #NEWLINE# 'personal_key' : params , #NEWLINE# 'nick' : 'popular' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assert_valid_actor_get_response ( params )