

def test_remove_external_volume(self, mock_client):
    vol = volume.Volume(mock_client, 'foo', 'project', external_name='data')
    vol.remove()
    assert (not mock_client.remove_volume.called)

dataset/ETHPy150Open docker/compose/tests/unit/volume_test.py TestVolume.test_remove_external_volume/original