'Test new course creation -- error path for course creator group enabled, not staff, group is empty.'

def test_create_course_no_course_creators_not_staff(self):

    with mock.patch.dict('django.conf.settings.FEATURES', {'ENABLE_CREATOR_GROUP': True}):
        self.user.is_staff = False
        self.user.save()
        self.assert_course_permission_denied()
