#NEWLINE# def test_link_interpolate_args_identity( schema , session ) : #NEWLINE# #INDENT# class C ( object ) : #NEWLINE# #INDENT# def identity( self ) : #NEWLINE# #INDENT# return 'my-app' #NEWLINE# #UNINDENT# #UNINDENT# link = Service ( schema , session ) . app . delete #NEWLINE# assert ( link . interpolate_args ( [ C ( ) ] ) == 'https://api.heroku.com/apps/my-app' )