#NEWLINE# def test_edit_couch( self ) : #NEWLINE# #INDENT# mass_id = couch_loc ( 'Massachusetts' , mass_id . state ) . location_id #NEWLINE# couch_location = Location . get ( mass_id ) #NEWLINE# couch_location . name = 'New Massachusetts' #NEWLINE# couch_location . save ( ) #NEWLINE# self . assertNumLocations ( 1 ) #NEWLINE# sql_location = SQLLocation . objects . get ( location_id = mass_id ) #NEWLINE# self . assertEqual ( sql_location . name , 'New Massachusetts' )