'Create a test client, course, and user.'

def setUp(self):

    super(FieldOverridePerformanceTestCase, self).setUp()
    self.request_factory = RequestFactory()
    self.student = UserFactory.create()
    self.request = self.request_factory.get('foo')
    self.request.session = {}
    self.request.user = self.student
    patcher = mock.patch('edxmako.request_context.get_current_request', return_value=self.request)
    patcher.start()
    self.addCleanup(patcher.stop)
    self.course = None
    self.ccx = None
