'Verify no errors are raised when constructing volumes with the
mandatory profiles.'

def test_profile_respected(self):

    for profile in (c.value for c in MandatoryProfiles.iterconstants()):
        dataset_id = uuid4()
        self.addCleanup(detach_destroy_volumes, self.api)
        self.api.create_volume_with_profile(dataset_id=dataset_id, size=self.dataset_size, profile_name=profile)
