'Make and register course_staff and ensure they can access the courses'

def test_course_staff_access(self):

    (course_staff_client, course_staff) = self.create_non_staff_authed_user_client()
    for course in [self.course, self.odd_course]:
        permission_url = reverse_course_url('course_team_handler', course.id, kwargs={'email': course_staff.email})
        self.client.post(permission_url, data=json.dumps({'role': 'staff'}), content_type='application/json', HTTP_ACCEPT='application/json')
    self.check_courses_on_index(course_staff_client)
