Azure / azure-storage-python

Microsoft Azure Storage Library for Python
https://azure-storage.readthedocs.io
MIT License
338 stars 240 forks source link

[Blob][BugFix]Incorrect handling of Short Reads in create_blob_from_s… #583

Closed xiafu-msft closed 5 years ago

xiafu-msft commented 5 years ago

Currently if the user want to upload a blob with short reads, only the data read by the first short reads call is uploaded. This commit is to fix this bug

codecov-io commented 5 years ago

Codecov Report

Merging #583 into dev will increase coverage by 0.13%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #583      +/-   ##
==========================================
+ Coverage   86.83%   86.96%   +0.13%     
==========================================
  Files          52       52              
  Lines        4823     4903      +80     
  Branches      520      528       +8     
==========================================
+ Hits         4188     4264      +76     
- Misses        467      469       +2     
- Partials      168      170       +2
Impacted Files Coverage Δ
...torage-blob/azure/storage/blob/blockblobservice.py 92.14% <100%> (+0.34%) :arrow_up:
...torage-file/azure/storage/file/_deserialization.py 80.8% <0%> (-0.26%) :arrow_down:
...storage-blob/azure/storage/blob/baseblobservice.py 92.96% <0%> (+0.02%) :arrow_up:
...ure-storage-file/azure/storage/file/fileservice.py 93.28% <0%> (+0.35%) :arrow_up:
azure-storage-file/azure/storage/file/models.py 94.44% <0%> (+0.56%) :arrow_up:
...torage-blob/azure/storage/blob/_deserialization.py 86.36% <0%> (+1.01%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 13e065e...ab45e57. Read the comment docs.