Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

# Version 0.0.24
- Updated unit test cases pipeline
- Added support to override uploaded blob access tier

# Version 0.0.23
- Updated unit test cases pipeline
- Added support to upload test cases results on Azure blob
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_body_text(self):

@ExceptionHandler.decorated
def upload(self, upload_stream):
Comment thread
susrisha marked this conversation as resolved.
Outdated
upload_file = self.blob_client.upload_blob(self.file_path, upload_stream)
upload_file = self.blob_client.upload_blob(self.file_path, upload_stream, overwrite=True)
self._get_remote_url = upload_file.url

@ExceptionHandler.decorated
Expand Down
2 changes: 1 addition & 1 deletion src/python_ms_core/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.23'
__version__ = '0.0.24'
4 changes: 3 additions & 1 deletion tests/unit_tests/test_storage/test_azure_file_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ def test_upload(self):

# Assert the result
self.assertEqual(file_entity._get_remote_url, 'http://example.com/file')
self.blob_client.upload_blob.assert_called_once_with(file_entity.file_path, upload_stream)
self.blob_client.upload_blob.assert_called_once_with(
file_entity.file_path, upload_stream, overwrite=True
)

def test_get_remote_url(self):
# Create an instance of the AzureFileEntity
Expand Down