'CourseEnrollment.users_enrolled_in should return only Users with active enrollments when
`include_inactive` has its default value (False).'

def test_users_enrolled_in_active_only(self):

    CourseEnrollmentFactory.create(user=self.user, course_id=self.course.id, is_active=True)
    CourseEnrollmentFactory.create(user=self.user_2, course_id=self.course.id, is_active=False)
    active_enrolled_users = list(CourseEnrollment.objects.users_enrolled_in(self.course.id))
    self.assertEqual([self.user], active_enrolled_users)
