#NEWLINE# def test_client_get_metadata_for_node( self ) : #NEWLINE# #INDENT# clt = self . client #NEWLINE# lb = self . loadbalancer #NEWLINE# nd = fakes . FakeNode ( ) #NEWLINE# lb . manager . get_metadata = Mock ( ) #NEWLINE# clt . get_metadata_for_node ( lb , nd ) #NEWLINE# lb . manager . get_metadata . assert_called_once_with ( lb , node = nd )