#NEWLINE# def test_client_set_metadata( self ) : #NEWLINE# #INDENT# clt = self . client #NEWLINE# lb = self . loadbalancer #NEWLINE# lb . manager . set_metadata = Mock ( ) #NEWLINE# meta = { #NEWLINE# #INDENT# 'fake' : 'fake' , #NEWLINE# #UNINDENT# } #NEWLINE# clt . set_metadata ( lb , meta ) #NEWLINE# lb . manager . set_metadata . assert_called_once_with ( lb , meta )