'Set up location records'

def setUp(self):

    auth = current.auth
    s3db = current.s3db
    auth.override = True
    ltable = s3db.gis_location
    location1 = Storage(name='TestLocation')
    location1_id = ltable.insert(**location1)
    location2 = Storage(name='TestLocation')
    location2_id = ltable.insert(**location2)
    self.id1 = location1_id
    self.id2 = location2_id
    self.resource = s3db.resource('gis_location')
