def METHOD_NAME(project_factory, phase_factory):
    project1 = project_factory(is_archived=True)
    project2 = project_factory(is_archived=False)
    project3 = project_factory(is_archived=False)
    phase_factory(
        start_date=parse("2013-01-01 18:00:00 UTC"),
        end_date=parse("2013-01-01 19:00:00 UTC"),
        module__project=project1,
    )
    phase_factory(
        start_date=parse("2013-01-01 18:00:00 UTC"),
        end_date=parse("2013-01-01 19:00:00 UTC"),
        module__project=project2,
    )
    phase_factory(
        start_date=parse("2013-01-01 18:00:00 UTC"),
        end_date=parse("2013-01-01 18:25:00 UTC"),
        module__project=project3,
    )
    with freeze_time(parse("2013-01-01 18:30:00 UTC")):
        assert not project1.is_archivable
        assert not project2.is_archivable
        assert project3.is_archivable