def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def resource_setup(cls):
        super(VolumesActionsTest, cls).resource_setup()

        # Create a test shared volume for attach/detach tests
        cls.volume = cls.create_volume()