

@raises(AzureStorageStreamError)
@patch('azurectl.storage.storage.XZ.open')
def test_upload_error_put_blob(self, mock_xz_open):
    mock_xz_open.side_effect = Exception
    mock_xz_open.storage.upload('../data/blob.xz')

dataset/ETHPy150Open SUSE/azurectl/test/unit/storage_storage_test.py TestStorage.test_upload_error_put_blob/VarMisuse@30/58 `self`->`mock_xz_open`