Skip to content
Snippets Groups Projects
Commit 7ba66647 authored by Tamara Dahlgren's avatar Tamara Dahlgren
Browse files

Bugfix: updatehdf5 install tests to new data directory

parent 7607c4e3
No related tags found
Loading
...@@ -391,10 +391,10 @@ def _test_check_versions(self): ...@@ -391,10 +391,10 @@ def _test_check_versions(self):
def _test_example(self): def _test_example(self):
"""This test performs copy, dump, and diff on an example hdf5 file.""" """This test performs copy, dump, and diff on an example hdf5 file."""
h5_file = os.path.join(self.test_dir, 'data', 'spack.h5') h5_file = os.path.join(self.test_dir.data.hdf5, 'spack.h5')
reason = 'test: ensure h5dump produces expected output' reason = 'test: ensure h5dump produces expected output'
dump_file = os.path.join(self.test_dir, 'data', 'dump.out') dump_file = os.path.join(self.test_dir.data.hdf5, 'dump.out')
output = '' output = ''
with open(dump_file) as fd: with open(dump_file) as fd:
output == fd.read() output == fd.read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment