Skip to content

Commit aec585b

Browse files
committed
align var values in test
1 parent 8c1ae3c commit aec585b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/unit/test_blob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3352,7 +3352,7 @@ def test_create_resumable_upload_session_with_origin(self):
33523352

33533353
def test_create_resumable_upload_session_with_conditional_retry_success(self):
33543354
self._create_resumable_upload_session_helper(
3355-
retry=DEFAULT_RETRY_IF_GENERATION_SPECIFIED, if_generation_match=1
3355+
retry=DEFAULT_RETRY_IF_GENERATION_SPECIFIED, if_generation_match=123456
33563356
)
33573357

33583358
def test_create_resumable_upload_session_with_conditional_retry_failure(self):

tests/unit/test_fileio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def test_conditional_retry_pass(self):
395395
blob,
396396
chunk_size=chunk_size,
397397
content_type=PLAIN_CONTENT_TYPE,
398-
if_generation_match=123456789, # Note: Assuming this is the blob generation
398+
if_generation_match=123456,
399399
)
400400

401401
# The transmit_next_chunk method must actually consume bytes from the
@@ -421,7 +421,7 @@ def test_conditional_retry_pass(self):
421421
None, # num_retries
422422
chunk_size=chunk_size,
423423
retry=DEFAULT_RETRY,
424-
if_generation_match=123456789,
424+
if_generation_match=123456,
425425
)
426426
upload.transmit_next_chunk.assert_called_with(transport)
427427
self.assertEqual(upload.transmit_next_chunk.call_count, 4)

0 commit comments

Comments
 (0)