Checking opening of an existing file.
(self)
| 167 | shutil.rmtree(temp_dir) |
| 168 | |
| 169 | def test01_openFile(self): |
| 170 | """Checking opening of an existing file.""" |
| 171 | |
| 172 | # Open the old HDF5 file |
| 173 | self._reopen(node_cache_slots=self.node_cache_slots) |
| 174 | |
| 175 | # Get the CLASS attribute of the arr object |
| 176 | title = self.h5file.root.array.get_attr("TITLE") |
| 177 | |
| 178 | self.assertEqual(title, "Array example") |
| 179 | |
| 180 | def test01_open_file_pathlib(self): |
| 181 | """Checking opening of an existing file.""" |