#NEWLINE# def test_name_matches_object( self ) : #NEWLINE# #INDENT# name = 'foo' #NEWLINE# obj = mock . Mock ( ) #NEWLINE# self . assertTrue ( utils . name_matches_object ( name , obj ) ) #NEWLINE# obj . name_matches_object . assert_called_once_with ( obj )