setUp() -> None This method sets the following instance attributes: * 'h5fname', the name of the temporary HDF5 file * 'h5file', the writable, temporary HDF5 file with a '/test' node * 'fnode', the writable file node in '/test'
(self)
| 180 | datafname = "test_filenode.dat" |
| 181 | |
| 182 | def setUp(self): |
| 183 | """setUp() -> None |
| 184 | |
| 185 | This method sets the following instance attributes: |
| 186 | * 'h5fname', the name of the temporary HDF5 file |
| 187 | * 'h5file', the writable, temporary HDF5 file with a '/test' node |
| 188 | * 'fnode', the writable file node in '/test' |
| 189 | |
| 190 | """ |
| 191 | |
| 192 | super().setUp() |
| 193 | self.fnode = filenode.new_node(self.h5file, where="/", name="test") |
| 194 | self.datafname = test_file(self.datafname) |
| 195 | |
| 196 | def tearDown(self): |
| 197 | """tearDown() -> None |