![]() Replace the pattern: completion = OcfCompletion([("err", c_int)]) io.callback = completion.callback io.submit() completion.wait() with: completion = Sync(io).submit() Also, remove some redundant imports. Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_add_remove.py | ||
test_attach_cache.py | ||
test_change_params.py | ||
test_composite_volume.py | ||
test_disable_cleaner.py | ||
test_failover.py | ||
test_metadata_volatile.py | ||
test_start_stop.py |