'``list_volumes`` returns ``BlockDeviceVolume`` s that have the
same dataset_id and (maybe over-allocated size) as was passed
to ``create_volume``.'

def test_listed_volume_attributes(self):

    expected_dataset_id = uuid4()
    self.api.create_volume(dataset_id=expected_dataset_id, size=self.minimum_allocatable_size)
    def validate():
        listed_volumes = self.api.list_volumes()
        self.assertEqual(len(listed_volumes), 1)
        listed_volume = listed_volumes[0]
        self.assertEqual((expected_dataset_id, self.minimum_allocatable_size), (listed_volume.dataset_id, listed_volume.size))
    self.repeat_until_consistent(validate)
