#NEWLINE# def test_should_use_field_source_value_for_searching_model_concrete_fields( self ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# 'title_from_source' : 'goodbye' , #NEWLINE# #UNINDENT# } #NEWLINE# serializer = CommentSerializer ( instance = self . get_comment ( ) , data = data , partial = True ) #NEWLINE# self . assertTrue ( serializer . is_valid ( ) ) #NEWLINE# serializer . save ( ) #NEWLINE# fresh_instance = self . get_comment ( ) #NEWLINE# self . assertEqual ( fresh_instance . title , 'goodbye' )