Skip to content

Commit 32d7d6a

Browse files
committed
minor fix
1 parent 62269de commit 32d7d6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/asyncio/retry/test_reads_resumption_strategy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ def test_update_state_final_byte_count_mismatch(self):
258258
"""Test mismatch between expected length and actual bytes written on completion."""
259259
self._add_download(_READ_ID, length=100)
260260

261-
response = self._create_response(b"data", _READ_ID, offset=0, range_end=True)
261+
data = b"data" * 30
262+
response = self._create_response(data, _READ_ID, offset=0, range_end=True)
262263

263264
with self.assertRaisesRegex(DataCorruption, "Byte count mismatch"):
264265
self.strategy.update_state_from_response(response, self.state)

0 commit comments

Comments
 (0)