diff --git a/tests/functional/pyocf/types/io.py b/tests/functional/pyocf/types/io.py index bc26d52..ebd99f7 100644 --- a/tests/functional/pyocf/types/io.py +++ b/tests/functional/pyocf/types/io.py @@ -102,6 +102,12 @@ class Io(Structure): def submit_discard(self): return OcfLib.getInstance().ocf_volume_submit_discard(byref(self)) + def submit_flush(self): + return OcfLib.getInstance().ocf_volume_submit_flush(byref(self)) + + def submit_discard(self): + return OcfLib.getInstance().ocf_volume_submit_discard(byref(self)) + def set_data(self, data: Data, offset: int = 0): self.data = data OcfLib.getInstance().ocf_io_set_data(byref(self), data, offset)