def METHOD_NAME(client, PROJECT):
    conn = client._connection = make_connection({})
    with mock.patch(
        "google.cloud.bigquery.opentelemetry_tracing._get_final_span_attributes"
    ) as final_attributes:
        list(client.list_datasets(project="other-project", timeout=7.5))
    final_attributes.assert_called_once_with(
        {"path": "/projects/other-project/datasets"}, client, None
    )
    conn.api_request.assert_called_once_with(
        method="GET",
        path="/projects/other-project/datasets",
        query_params={},
        timeout=7.5,
    )