#NEWLINE# def test_add_products( self ) : #NEWLINE# #INDENT# couch_location = Location ( name = 'Camelot' , domain = self . domain . name , location_type = 'type' ) #NEWLINE# couch_location . save ( ) #NEWLINE# location = couch_location . sql_location #NEWLINE# location . products = self . products #NEWLINE# location . save ( ) #NEWLINE# self . assertEqualProducts ( couch_location . sql_location . products . all ( ) , location . products )