def METHOD_NAME(self):
    p = Person.objects.get(emplid=210012345)
    s = Semester.objects.get(name="1077")
    unit = Unit.objects.get(label="CMPT")
    d = CourseDescription(unit=unit, description="Lab TA", labtut=True)
    d.save()
    d = CourseDescription(unit=unit, description="Office Hours", labtut=False)
    d.save()
    #Create posting that closes in a long time so no applications are late
    posting = TAPosting(semester=s, unit=unit,opens=date(2007,9,4), closes=date(2099,9,4))
    posting.config['accounts'] = [a.id for a in Account.objects.all()]
    posting.config['start'] = date(2100,10,10)
    posting.config['end'] = date(2101,10,10)
    posting.config['deadline'] = date(2099,9,20)
    posting.save() 
    #Create application for posting as well as campus and course preferences
    app = TAApplication(posting=posting, person=p, category="UTA", base_units=2, sin="123123123", course_load="No Other Courses")
    app.save()
    cp1 = CampusPreference(app=app, campus="BRNBY", pref="PRF")
    cp2 = CampusPreference(app=app, campus="SURRY", pref="NOT")
    cp1.save()
    cp2.save()
    c1 = Course.objects.get(subject="CMPT", number="120")
    course1 = CoursePreference(app=app, course=c1, taken="YES", exper="FAM", rank=1)
    course1.save()
    #Login a ta admin
    client = Client()
    userid = Role.objects_fresh.filter(role="TAAD")[0].person.userid
    client.login_user(userid)     
    #Check that assign_tas page has two courses in it, one with someone who has applied
    url = reverse('ta:assign_tas', kwargs={'post_slug': posting.slug,})
    response = basic_page_tests(self, client, url)
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, '<a href="/ta/%s/%s"' % (posting.slug, self.co1.slug) )
    self.assertContains(response, '<a href="/ta/%s/%s"' % (posting.slug, self.co2.slug) )
    self.assertContains(response, '<td class="num">1</td>')
    #Check the view application page to make sure it displays properly
    url = reverse('ta:view_application', kwargs={'post_slug': posting.slug, 'userid':app.person.userid,})
    response = basic_page_tests(self, client, url)
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, '<a href="mailto:%s@sfu.ca"' % (app.person.userid) )
    self.assertContains(response, '<td>%s</td>' % (c1) )
    #Check the assign_bu page to make sure applicant appears
    url = reverse('ta:assign_bus', kwargs={'post_slug': posting.slug, 'course_slug':self.co1.slug,})
    response = basic_page_tests(self, client, url)
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, '<a href="/ta/%s/application/%s"' % (posting.slug, app.person.userid) )
    #Assign bu's to the applicant and make sure they show up on assign_ta page 
    post_data = {
        'form-TOTAL_FORMS':2,
        'form-INITIAL_FORMS':1,
        'form-MAX_NUM_FORMS':'',
        'form-0-rank':1,
        'form-0-bu':2.0,
    }
    response = client.post(url, post_data, follow=True)
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, '<td class="num">2.00</td>')