Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed live tests with new exception thrown #16776

Merged
merged 1 commit into from
Feb 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdk/storage/azure-storage-blob/tests/test_common_blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ def test_copy_blob_async_private_blob_no_sas(self, resource_group, location, sto
target_blob = self.bsc.get_blob_client(self.container_name, target_blob_name)

# Assert
with self.assertRaises(ResourceNotFoundError):
with self.assertRaises(ClientAuthenticationError):
target_blob.start_copy_from_url(source_blob.url)

@GlobalStorageAccountPreparer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ async def test_copy_blob_async_private_blob_no_sas(self, resource_group, locatio
target_blob = self.bsc.get_blob_client(self.container_name, target_blob_name)

# Assert
with self.assertRaises(ResourceNotFoundError):
with self.assertRaises(ClientAuthenticationError):
await target_blob.start_copy_from_url(source_blob.url)


Expand Down