'Set up person records'

def setUp(self):

    db = current.db
    auth = current.auth
    s3db = current.s3db
    deployment_settings = current.deployment_settings
    auth.override = True
    ptable = s3db.pr_person
    person1 = Storage(first_name='Test', last_name='Person')
    person1_id = ptable.insert(**person1)
    person1.update(id=person1_id)
    s3db.update_super(ptable, person1)
    person2 = Storage(first_name='Test', last_name='Person')
    person2_id = ptable.insert(**person2)
    person2.update(id=person2_id)
    s3db.update_super(ptable, person2)
    self.id1 = person1_id
    self.id2 = person2_id
    self.resource = s3db.resource('pr_person')
