#NEWLINE# def test_update_multiple_fields( self ) : #NEWLINE# #INDENT# '\n        Multiple fields can be updated at once\n        ' #NEWLINE# resp = DataPoint . objects . filter ( value = 'apple' ) . update ( value = 'fruit' , another_value = 'peach' ) #NEWLINE# self . assertEqual ( d , 1 ) #NEWLINE# d = DataPoint . objects . get ( name = 'd0' ) #NEWLINE# self . assertEqual ( d . value , 'fruit' ) #NEWLINE# self . assertEqual ( d . another_value , 'peach' )