'Test case setup'

def setUp(self):

    super(CourseCreatorAdminTest, self).setUp()
    self.user = User.objects.create_user('test_user', 'test_user+courses@edx.org', 'foo')
    self.table_entry = CourseCreator(user=self.user)
    self.table_entry.save()
    self.admin = User.objects.create_user('Mark', 'admin+courses@edx.org', 'foo')
    self.admin.is_staff = True
    self.request = HttpRequest()
    self.request.user = self.admin
    self.creator_admin = CourseCreatorAdmin(self.table_entry, AdminSite())
    self.studio_request_email = 'mark@marky.mark'
    self.enable_creator_group_patch = {'ENABLE_CREATOR_GROUP': True, 'STUDIO_REQUEST_EMAIL': self.studio_request_email}
