def METHOD_NAME(self, project, unique_schema, other_schema):
    project.create_test_schema(other_schema)
    self.run_and_save_state(project.project_root, with_snapshot=True)
    clone_args = [
        "clone",
        "--target",
        "otherschema",
    ]
    with pytest.raises(
        DbtRuntimeError,
        match="--state or --defer-state are required for deferral, but neither was provided",
    ):
        run_dbt(clone_args)