ewoksxrdct.tests.test_hdf5#

Functions

test_load_hdf5_path_missing_path_raises(tmp_path)

Looking up a path that doesn't exist raises a ValueError naming the path and file.

test_open_hdf5_file_missing_file_raises(tmp_path)

Opening a file that does not exist raises an OSError naming the file.

test_open_hdf5_file_not_hdf5_raises(tmp_path)

Opening a file that is not a valid HDF5 file raises an OSError naming the file.

test_open_hdf5_file_opens_valid_file(tmp_path)

A valid HDF5 file opens and its contents are readable.