|
|
|
|
@@ -1,6 +1,138 @@
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/system/test_blob.py google_cloud_storage-3.1.0/tests/system/test_blob.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/system/test_blob.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/system/test_blob.py 2025-04-26 11:42:46.622992898 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/google/cloud/storage/_media/requests/__init__.py google_cloud_storage-3.8.0/google/cloud/storage/_media/requests/__init__.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/google/cloud/storage/_media/requests/__init__.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/google/cloud/storage/_media/requests/__init__.py 2026-01-16 10:59:54.646351819 +0100
|
|
|
|
|
@@ -32,7 +32,7 @@
|
|
|
|
|
|
|
|
|
|
import google.auth
|
|
|
|
|
import google.auth.credentials as creds_mod
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
|
|
|
|
|
def mock_default(scopes=None):
|
|
|
|
|
credentials = mock.Mock(spec=creds_mod.Credentials)
|
|
|
|
|
@@ -68,7 +68,7 @@
|
|
|
|
|
|
|
|
|
|
.. testsetup:: basic-download
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -111,7 +111,7 @@
|
|
|
|
|
|
|
|
|
|
.. testsetup:: basic-download-with-slice
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -170,7 +170,7 @@
|
|
|
|
|
|
|
|
|
|
import io
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -230,7 +230,7 @@
|
|
|
|
|
|
|
|
|
|
.. testsetup:: chunked-download-end
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -303,7 +303,7 @@
|
|
|
|
|
|
|
|
|
|
import json
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -363,7 +363,7 @@
|
|
|
|
|
|
|
|
|
|
import time
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -438,7 +438,7 @@
|
|
|
|
|
|
|
|
|
|
import json
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -524,7 +524,7 @@
|
|
|
|
|
|
|
|
|
|
import io
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -585,7 +585,7 @@
|
|
|
|
|
import io
|
|
|
|
|
import json
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/google/cloud/storage/_media/requests/upload.py google_cloud_storage-3.8.0/google/cloud/storage/_media/requests/upload.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/google/cloud/storage/_media/requests/upload.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/google/cloud/storage/_media/requests/upload.py 2026-01-16 10:59:54.644082466 +0100
|
|
|
|
|
@@ -198,7 +198,7 @@
|
|
|
|
|
import os
|
|
|
|
|
import tempfile
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -255,7 +255,7 @@
|
|
|
|
|
|
|
|
|
|
import io
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -296,7 +296,7 @@
|
|
|
|
|
|
|
|
|
|
import io
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
@@ -457,7 +457,7 @@
|
|
|
|
|
|
|
|
|
|
import io
|
|
|
|
|
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
import requests
|
|
|
|
|
import http.client
|
|
|
|
|
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/system/test_blob.py google_cloud_storage-3.8.0/tests/system/test_blob.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/system/test_blob.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/system/test_blob.py 2026-01-16 10:59:54.678155512 +0100
|
|
|
|
|
@@ -21,7 +21,7 @@
|
|
|
|
|
import warnings
|
|
|
|
|
|
|
|
|
|
@@ -10,9 +142,21 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/system/test_blob.py google_cloud
|
|
|
|
|
|
|
|
|
|
from google.cloud.storage.exceptions import DataCorruption
|
|
|
|
|
from google.api_core import exceptions
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_acl.py google_cloud_storage-3.1.0/tests/unit/test_acl.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_acl.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_acl.py 2025-04-26 11:42:46.624599658 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/gapic/storage_v2/test_storage.py google_cloud_storage-3.8.0/tests/unit/gapic/storage_v2/test_storage.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/gapic/storage_v2/test_storage.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/gapic/storage_v2/test_storage.py 2026-01-16 10:59:54.757161041 +0100
|
|
|
|
|
@@ -20,7 +20,7 @@
|
|
|
|
|
from unittest import mock
|
|
|
|
|
from unittest.mock import AsyncMock # pragma: NO COVER
|
|
|
|
|
except ImportError: # pragma: NO COVER
|
|
|
|
|
- import mock
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
|
|
|
|
|
import grpc
|
|
|
|
|
from grpc.experimental import aio
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_acl.py google_cloud_storage-3.8.0/tests/unit/test_acl.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_acl.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_acl.py 2026-01-16 10:59:54.769161251 +0100
|
|
|
|
|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
|
|
|
|
import unittest
|
|
|
|
|
@@ -22,9 +166,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_acl.py google_cloud_st
|
|
|
|
|
|
|
|
|
|
from google.cloud.storage.retry import (
|
|
|
|
|
DEFAULT_RETRY,
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_batch.py google_cloud_storage-3.1.0/tests/unit/test_batch.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_batch.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_batch.py 2025-04-26 11:42:46.624902162 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_batch.py google_cloud_storage-3.8.0/tests/unit/test_batch.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_batch.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_batch.py 2026-01-16 10:59:54.723595781 +0100
|
|
|
|
|
@@ -17,7 +17,7 @@
|
|
|
|
|
from http.client import NO_CONTENT
|
|
|
|
|
import unittest
|
|
|
|
|
@@ -34,9 +178,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_batch.py google_cloud_
|
|
|
|
|
import requests
|
|
|
|
|
|
|
|
|
|
from google.cloud.storage._helpers import _DEFAULT_UNIVERSE_DOMAIN
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_blob.py google_cloud_storage-3.1.0/tests/unit/test_blob.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_blob.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_blob.py 2025-04-26 11:42:46.625931927 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_blob.py google_cloud_storage-3.8.0/tests/unit/test_blob.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_blob.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_blob.py 2026-01-16 10:59:54.711160236 +0100
|
|
|
|
|
@@ -24,7 +24,7 @@
|
|
|
|
|
from unittest.mock import patch
|
|
|
|
|
from urllib.parse import urlencode
|
|
|
|
|
@@ -46,9 +190,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_blob.py google_cloud_s
|
|
|
|
|
import pytest
|
|
|
|
|
|
|
|
|
|
from google.cloud.exceptions import NotFound
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_bucket.py google_cloud_storage-3.1.0/tests/unit/test_bucket.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_bucket.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_bucket.py 2025-04-26 11:42:46.626866799 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_bucket.py google_cloud_storage-3.8.0/tests/unit/test_bucket.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_bucket.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_bucket.py 2026-01-16 10:59:54.767161216 +0100
|
|
|
|
|
@@ -15,7 +15,7 @@
|
|
|
|
|
import datetime
|
|
|
|
|
import unittest
|
|
|
|
|
@@ -57,10 +201,10 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_bucket.py google_cloud
|
|
|
|
|
+from unittest import mock
|
|
|
|
|
import pytest
|
|
|
|
|
|
|
|
|
|
from google.cloud.storage.retry import DEFAULT_RETRY
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_client.py google_cloud_storage-3.1.0/tests/unit/test_client.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_client.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_client.py 2025-04-26 11:42:46.627866820 +0200
|
|
|
|
|
from google.cloud.storage.blob import _quote
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_client.py google_cloud_storage-3.8.0/tests/unit/test_client.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_client.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_client.py 2026-01-16 10:59:54.720694818 +0100
|
|
|
|
|
@@ -17,7 +17,7 @@
|
|
|
|
|
import io
|
|
|
|
|
import json
|
|
|
|
|
@@ -70,9 +214,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_client.py google_cloud
|
|
|
|
|
import pytest
|
|
|
|
|
import re
|
|
|
|
|
import requests
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_fileio.py google_cloud_storage-3.1.0/tests/unit/test_fileio.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_fileio.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_fileio.py 2025-04-26 11:42:46.628946480 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_fileio.py google_cloud_storage-3.8.0/tests/unit/test_fileio.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_fileio.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_fileio.py 2026-01-16 10:59:54.718626447 +0100
|
|
|
|
|
@@ -18,7 +18,7 @@
|
|
|
|
|
import io
|
|
|
|
|
import string
|
|
|
|
|
@@ -82,9 +226,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_fileio.py google_cloud
|
|
|
|
|
|
|
|
|
|
from google.api_core.exceptions import RequestRangeNotSatisfiable
|
|
|
|
|
from google.cloud.storage.fileio import CHUNK_SIZE_MULTIPLE
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__helpers.py google_cloud_storage-3.1.0/tests/unit/test__helpers.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test__helpers.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test__helpers.py 2025-04-26 11:42:46.623466116 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test__helpers.py google_cloud_storage-3.8.0/tests/unit/test__helpers.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test__helpers.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test__helpers.py 2026-01-16 10:59:54.716578054 +0100
|
|
|
|
|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
|
|
|
|
import unittest
|
|
|
|
|
@@ -94,18 +238,18 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__helpers.py google_clo
|
|
|
|
|
|
|
|
|
|
from google.cloud.storage.retry import DEFAULT_RETRY
|
|
|
|
|
from google.cloud.storage.retry import DEFAULT_RETRY_IF_METAGENERATION_SPECIFIED
|
|
|
|
|
@@ -586,8 +586,6 @@
|
|
|
|
|
@@ -586,7 +586,7 @@
|
|
|
|
|
self.assertEqual(SIGNED_CONTENT, b"kBiQqOnIz21aGlQrIp/r/w==")
|
|
|
|
|
|
|
|
|
|
def test_it_with_stubs(self):
|
|
|
|
|
- import mock
|
|
|
|
|
-
|
|
|
|
|
+ from unittest import mock
|
|
|
|
|
|
|
|
|
|
class _Buffer(object):
|
|
|
|
|
def __init__(self, return_vals):
|
|
|
|
|
self.return_vals = return_vals
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_hmac_key.py google_cloud_storage-3.1.0/tests/unit/test_hmac_key.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_hmac_key.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_hmac_key.py 2025-04-26 11:42:46.629270565 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_hmac_key.py google_cloud_storage-3.8.0/tests/unit/test_hmac_key.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_hmac_key.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_hmac_key.py 2026-01-16 10:59:54.764429205 +0100
|
|
|
|
|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
|
|
|
|
import unittest
|
|
|
|
|
@@ -115,9 +259,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_hmac_key.py google_clo
|
|
|
|
|
|
|
|
|
|
from google.cloud.storage.retry import DEFAULT_RETRY
|
|
|
|
|
from google.cloud.storage.retry import DEFAULT_RETRY_IF_ETAG_IN_JSON
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__http.py google_cloud_storage-3.1.0/tests/unit/test__http.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test__http.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test__http.py 2025-04-26 11:42:46.623791083 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test__http.py google_cloud_storage-3.8.0/tests/unit/test__http.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test__http.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test__http.py 2026-01-16 10:59:54.704689771 +0100
|
|
|
|
|
@@ -15,7 +15,7 @@
|
|
|
|
|
import unittest
|
|
|
|
|
from unittest.mock import patch
|
|
|
|
|
@@ -127,9 +271,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__http.py google_cloud_
|
|
|
|
|
|
|
|
|
|
from google.cloud.storage import _helpers
|
|
|
|
|
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_notification.py google_cloud_storage-3.1.0/tests/unit/test_notification.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_notification.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_notification.py 2025-04-26 11:42:46.629520038 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_notification.py google_cloud_storage-3.8.0/tests/unit/test_notification.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_notification.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_notification.py 2026-01-16 10:59:54.706550807 +0100
|
|
|
|
|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
|
|
|
|
import unittest
|
|
|
|
|
@@ -139,9 +283,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_notification.py google
|
|
|
|
|
|
|
|
|
|
from google.cloud.storage.retry import DEFAULT_RETRY
|
|
|
|
|
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__opentelemetry_tracing.py google_cloud_storage-3.1.0/tests/unit/test__opentelemetry_tracing.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test__opentelemetry_tracing.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test__opentelemetry_tracing.py 2025-04-26 11:42:46.624011662 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test__opentelemetry_tracing.py google_cloud_storage-3.8.0/tests/unit/test__opentelemetry_tracing.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test__opentelemetry_tracing.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test__opentelemetry_tracing.py 2026-01-16 10:59:54.708494391 +0100
|
|
|
|
|
@@ -17,7 +17,7 @@
|
|
|
|
|
import pytest
|
|
|
|
|
import sys
|
|
|
|
|
@@ -151,9 +295,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__opentelemetry_tracing
|
|
|
|
|
from google.api_core.exceptions import GoogleAPICallError
|
|
|
|
|
from google.cloud.storage import __version__
|
|
|
|
|
from google.cloud.storage import _opentelemetry_tracing
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_retry.py google_cloud_storage-3.1.0/tests/unit/test_retry.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_retry.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_retry.py 2025-04-26 11:42:46.629783609 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_retry.py google_cloud_storage-3.8.0/tests/unit/test_retry.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_retry.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_retry.py 2026-01-16 10:59:54.746717083 +0100
|
|
|
|
|
@@ -17,7 +17,7 @@
|
|
|
|
|
from google.cloud.storage import _helpers
|
|
|
|
|
from google.cloud.storage.exceptions import InvalidResponse
|
|
|
|
|
@@ -163,9 +307,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_retry.py google_cloud_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Test_should_retry(unittest.TestCase):
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__signing.py google_cloud_storage-3.1.0/tests/unit/test__signing.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test__signing.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test__signing.py 2025-04-26 11:42:46.624285442 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test__signing.py google_cloud_storage-3.8.0/tests/unit/test__signing.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test__signing.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test__signing.py 2026-01-16 10:59:54.714434821 +0100
|
|
|
|
|
@@ -23,7 +23,7 @@
|
|
|
|
|
import unittest
|
|
|
|
|
import urllib.parse
|
|
|
|
|
@@ -175,9 +319,9 @@ diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test__signing.py google_clo
|
|
|
|
|
import pytest
|
|
|
|
|
|
|
|
|
|
from google.cloud.storage._helpers import _UTC
|
|
|
|
|
diff -Nru google_cloud_storage-3.1.0.orig/tests/unit/test_transfer_manager.py google_cloud_storage-3.1.0/tests/unit/test_transfer_manager.py
|
|
|
|
|
--- google_cloud_storage-3.1.0.orig/tests/unit/test_transfer_manager.py 2025-02-28 01:15:44.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.1.0/tests/unit/test_transfer_manager.py 2025-04-26 11:42:46.629866863 +0200
|
|
|
|
|
diff -Nru google_cloud_storage-3.8.0.orig/tests/unit/test_transfer_manager.py google_cloud_storage-3.8.0/tests/unit/test_transfer_manager.py
|
|
|
|
|
--- google_cloud_storage-3.8.0.orig/tests/unit/test_transfer_manager.py 2026-01-14 01:41:56.000000000 +0100
|
|
|
|
|
+++ google_cloud_storage-3.8.0/tests/unit/test_transfer_manager.py 2026-01-16 10:59:54.744589019 +0100
|
|
|
|
|
@@ -25,7 +25,7 @@
|
|
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|