Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ async def _test_append_block_from_url_with_if_unmodified(self):
resp = await destination_blob_client. \
append_block_from_url(source_blob_client.url + '?' + sas,
source_range_start=0, source_range_end=LARGE_BLOB_SIZE - 1,
if_unmodified_since=source_properties.get('last_modified'))
if_unmodified_since=source_properties.get('last_modified') + timedelta(minutes=15))
self.assertEqual(resp.get('blob_append_offset'), '0')
self.assertEqual(resp.get('blob_committed_block_count'), 1)
self.assertIsNotNone(resp.get('etag'))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,7 @@ async def _test_token_credential(self):

@record
def test_token_credential(self):
pytest.skip("not set up to use async azure-identity")
loop = asyncio.get_event_loop()
loop.run_until_complete(self._test_token_credential())

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ async def _test_upload_pages_from_url_with_if_unmodified(self):
SOURCE_BLOB_SIZE - 1,
0,
if_unmodified_since=source_properties.get(
'last_modified'))
'last_modified') + timedelta(minutes=15))
self.assertIsNotNone(resp.get('etag'))
self.assertIsNotNone(resp.get('last_modified'))

Expand Down