def METHOD_NAME(self, project):
    insert_id = 101
    run_dbt(["deps"])
    seed_results = run_dbt(["seed"])
    assert len(seed_results) == 5
    # There should be 7, as we disabled 1 test of the original 8
    test_results = run_dbt(["test"])
    assert len(test_results) == 7
    results = run_dbt(["run"])
    assert len(results) == 1
    check_relations_equal(project.adapter, ["expected_result", "my_model"])
    # set the updated_at field of this seed to last week
    insert_id = self._set_updated_at_to(insert_id, timedelta(days=-7), project)
    # if snapshot-freshness fails, freshness just didn't happen!
    results = run_dbt(["source", "snapshot-freshness"], expect_pass=False)
    # we disabled my_other_source, so we only run the one freshness check
    # in
    assert len(results) == 1
    # If snapshot-freshness passes, that means error_after was
    # applied from the source override but not the source table override
    insert_id = self._set_updated_at_to(insert_id, timedelta(days=-2), project)
    results = run_dbt(
        ["source", "snapshot-freshness"],
        expect_pass=False,
    )
    assert len(results) == 1
    insert_id = self._set_updated_at_to(insert_id, timedelta(hours=-12), project)
    results = run_dbt(["source", "snapshot-freshness"], expect_pass=True)
    assert len(results) == 1
    # update source to be enabled
    new_source_config = {
        "sources": {
            "localdep": {
                "my_other_source": {
                    "enabled": True,
                }
            }
        }
    }
    update_config_file(new_source_config, project.project_root, "dbt_project.yml")
    # enable my_other_source, snapshot freshness should fail due to the new
    # not-fresh source
    results = run_dbt(["source", "snapshot-freshness"], expect_pass=False)
    assert len(results) == 2