#NEWLINE# def test_basic_alias( self ) : #NEWLINE# #INDENT# client = self . client #NEWLINE# ( success , msg ) = client . alias ( 'previousId' , 'userId' ) #NEWLINE# client . flush ( ) #NEWLINE# self . assertTrue ( success ) #NEWLINE# self . assertFalse ( self . failed ) #NEWLINE# self . assertEqual ( msg [ 'previousId' ] , 'previousId' ) #NEWLINE# self . assertEqual ( msg [ 'userId' ] , 'userId' )