def METHOD_NAME(self):
    add_user_with_status_unrequested(self.user)
    self.assertEqual('unrequested', get_course_creator_status(self.user))
    self.client.login(username=self.user.username, password='foo')
    # The user_requested_access function renders a template that requires
    # request-specific information. Use the django TestClient to supply
    # the appropriate request context.
    self.client.post(reverse('request_course_creator'))
    self.assertEqual('pending', get_course_creator_status(self.user))