'Verifies PermissionDenied if caller of remove_user_from_course_group is not instructor role.'

def test_remove_user_from_course_group_permission_denied(self):

    add_users(self.global_admin, CourseInstructorRole(self.course_key), self.creator)
    another_staff = User.objects.create_user('another', 'teststaff+anothercourses@edx.org', 'foo')
    add_users(self.global_admin, CourseStaffRole(self.course_key), self.creator, self.staff, another_staff)
    with self.assertRaises(PermissionDenied):
        remove_users(self.staff, CourseStaffRole(self.course_key), another_staff)
