async def _wait_for_async_copy(self, blob):
    count = 0
    props = (await blob.get_blob_properties())
    while (props.copy.status == 'pending'):
        count = (count + 1)
        if (count > 10):
            self.fail('Timed out waiting for async copy to complete.')
        self.sleep(6)
        props = (await blob.get_blob_properties())
    return props
async def _wait_for_async_copy(self, blob):
    count = 0
    props = (await blob.get_blob_properties())
    while (props.copy.status == 'pending'):
        count = (count + 1)
        if (count > 10):
            self.fail('Timed out waiting for async copy to complete.')
        self.sleep(6)
        props = (await blob.get_blob_properties())
    return props