You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
________TestKMSIntegration.test_upload_new_blob_w_bucket_cmek_enabled_________self=<test_system.TestKMSIntegrationtestMethod=test_upload_new_blob_w_bucket_cmek_enabled>deftest_upload_new_blob_w_bucket_cmek_enabled(self):
blob_name="test-blob"payload=b"DEADBEEF"alt_payload=b"NEWDEADBEEF"kms_key_name=self._kms_key_name()
self.bucket.default_kms_key_name=kms_key_nameself.bucket.patch()
self.assertEqual(self.bucket.default_kms_key_name, kms_key_name)
blob=self.bucket.blob(blob_name)
blob.upload_from_string(payload)
# We don't know the current version of the key.>self.assertTrue(blob.kms_key_name.startswith(kms_key_name))
EAttributeError: 'NoneType'objecthasnoattribute'startswith'tests/system/test_system.py:2029: AttributeError
Similar to #190. In this case, reloading the blob after a failure would likely catch up to the expected state.