#NEWLINE# def test_token_issue_with_domain_id( self ) : #NEWLINE# #INDENT# arglist = [ ] #NEWLINE# verifylist = [ ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , verifylist ) #NEWLINE# self . sc_mock . get_token . return_value = identity_fakes . TOKEN_WITH_DOMAIN_ID #NEWLINE# ( columns , data ) = self . cmd . take_action ( parsed_args ) #NEWLINE# self . sc_mock . get_token . assert_called_with ( ) #NEWLINE# collist = ( 'domain_id' , 'expires' , 'id' , 'user_id' ) #NEWLINE# self . assertEqual ( collist , columns ) #NEWLINE# datalist = ( identity_fakes . domain_id , identity_fakes . token_expires , identity_fakes . token_id , identity_fakes . user_id ) #NEWLINE# self . assertEqual ( datalist , data )