'Set up organisation records'

def setUp(self):

    auth = current.auth
    s3db = current.s3db
    auth.override = True
    otable = s3db.org_organisation
    org1 = Storage(name='Test    PR    Organisation    1', acronym='TPO', country='UK', website='http://tpo.example.org')
    org1_id = otable.insert(**org1)
    org1.update(id=org1_id)
    s3db.update_super(otable, org1)
    org2 = Storage(name='Test    PR    Organisation    2', acronym='PTO', country='US', website='http://pto.example.com')
    org2_id = otable.insert(**org2)
    org2.update(id=org2_id)
    s3db.update_super(otable, org2)
    self.org1 = s3db.pr_get_pe_id('org_organisation', org1_id)
    self.org2 = s3db.pr_get_pe_id('org_organisation', org2_id)
