'Set up organisation records'

def setUp(self):

    s3db = current.s3db
    auth.override = True
    ptable = s3db.project_project
    atable = s3db.project_activity
    p1 = Row(name='Test    Project    1', code='TP1')
    p1_id = ptable.insert(**p1)
    p1.update(id=p1_id)
    a1 = Row(name='Test    Activity    1', project_id=p1_id)
    a1_id = atable.insert(**a1)
    a1.update(id=a1_id)
    a2 = Row(name='Test    Activity    2')
    a2_id = atable.insert(**a2)
    a2.update(id=a2_id)
    self.p1 = p1
    self.a1 = a1
    self.a2 = a2
