'Test that a student user cannot access the API and an error is received.'

def test_student_import_fails(self):

    self.client.login(username=self.student.username, password=self.password)
    with open(self.good_tar_fullpath, 'rb') as fp:
        resp = self.client.post(self.get_url(self.course_key), {'course_data': fp}, format='multipart')
    self.assertEqual(resp.status_code, status.HTTP_403_FORBIDDEN)
