@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_get_blob_properties(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    blob_name = (await self._create_block_blob())
    blob = self.bsc.get_blob_client(self.container_name, blob_name)
    props = (await blob.get_blob_properties())
    self.assertIsInstance(props, BlobProperties)
    self.assertEqual(props.blob_type, BlobType.BlockBlob)
    self.assertEqual(props.size, len(self.byte_data))
    self.assertEqual(props.lease.status, 'unlocked')
    self.assertIsNotNone(props.creation_time)
@GlobalStorageAccountPreparer()
@AsyncStorageTestCase.await_prepared_test
async def test_get_blob_properties(self, resource_group, location, storage_account, storage_account_key):
    (await self._setup(storage_account.name, storage_account_key))
    blob_name = (await self._create_block_blob())
    blob = self.bsc.get_blob_client(self.container_name, blob_name)
    props = (await blob.get_blob_properties())
    self.assertIsInstance(props, BlobProperties)
    self.assertEqual(props.blob_type, BlobType.BlockBlob)
    self.assertEqual(props.size, len(self.byte_data))
    self.assertEqual(props.lease.status, 'unlocked')
    self.assertIsNotNone(props.creation_time)