def test_hdf5_virtual_file(): hdf5_files = [ 'CSK_GEC.h5', 'vlstr_metadata.h5', 'groups.h5', 'complex.h5', 'single_char_varname.h5', 'CSK_DGM.h5', 'u8be.h5', 'metadata.h5' ] for hdf5_file in hdf5_files: assert uffd_compare(hdf5_file) is True
def hdf5_uffd(): if gdaltest.hdf5_drv is None: return 'skip' if uffd_compare('CSK_GEC.h5') is None: return 'skip' hdf5_files = [ 'CSK_GEC.h5', 'vlstr_metadata.h5', 'groups.h5', 'complex.h5', 'single_char_varname.h5', 'CSK_DGM.h5', 'u8be.h5', 'metadata.h5' ] for hdf5_file in hdf5_files: if uffd_compare(hdf5_file) is not True: return 'fail' return 'success'
def hdf5_virtual_file(): if gdaltest.hdf5_drv is None: return 'skip' hdf5_files = [ 'CSK_GEC.h5', 'vlstr_metadata.h5', 'groups.h5', 'complex.h5', 'single_char_varname.h5', 'CSK_DGM.h5', 'u8be.h5', 'metadata.h5' ] for hdf5_file in hdf5_files: if uffd_compare(hdf5_file) is not True: return 'fail' return 'success'