def METHOD_NAME(self):
    self.program2 = ProgramFactory(
        title="TestProgram2Retired",
        course_runs=self.course_runs,
        authoring_organizations=self.orgs,
        site=self.site,
        status=ProgramStatus.RETIRED.value,
    )
    self.program3 = ProgramFactory(
        title="TestProgram3Empty", course_runs=None, authoring_organizations=self.orgs, site=self.site
    )
    # include retired programs
    course_filters = {"course_runs__in": self.course_runs}
    result = get_filtered_programs(
        self.site, [ProgramStatus.ACTIVE.value, ProgramStatus.RETIRED.value], **course_filters
    )
    assert len(result) == 2
    assert result[0] == self.program
    assert result[1] == self.program2