def test_vsa_volume_delete_vsa_with_volumes(self):

        vols1 = self._get_all_volumes_by_vsa()
        for i in range(3):
            volume_param = self._default_volume_param()
            volume_ref = self.volume_api.create(self.context, **volume_param)

        vols2 = self._get_all_volumes_by_vsa()
        self.assertEqual(len(vols1) + 3, len(vols2))

        self.vsa_api.delete(self.context, self.vsa_id)

        vols3 = self._get_all_volumes_by_vsa()
        self.assertEqual(len(vols1), len(vols3))
Copy array.  This is a no-op for dask.arrays, which are immutable
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_vsa_volumes.py/VsaVolumesTestCase.test_vsa_volume_delete_vsa_with_volumes--crossover with--dataset/ETHPy150Open dask/dask/dask/array/core.py/Array.copy