

def test_remove_local_volume(self, mock_client):
    vol = volume.Volume(mock_client, 'foo', 'project')
    vol.remove()
    mock_client.remove_volume.assert_called_once_with('foo_project')

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