def test_replace(request): h5pl.replace(b'/opt/hdf5/vendor-plugin', 0) assert h5pl.size() == 1 assert h5pl.get(0) == b'/opt/hdf5/vendor-plugin'
def test_prepend(request): h5pl.prepend(b'/opt/hdf5/vendor-plugin') assert h5pl.size() == 2 assert h5pl.get(0) == b'/opt/hdf5/vendor-plugin' assert h5pl.get(1) == b'h5py_plugin_test'
def test_insert(request): h5pl.insert(b'/opt/hdf5/vendor-plugin', 0) assert h5pl.size() == 2 assert h5pl.get(0) == b'/opt/hdf5/vendor-plugin' assert h5pl.get(1) == b'h5py_plugin_test'
def test_default(request): assert h5pl.size() == 1 assert h5pl.get(0) == b'h5py_plugin_test'