(self)
| 332 | assert "/group" in h5 |
| 333 | |
| 334 | def test_split_path(self): |
| 335 | path, node = H5File.split_path("/") |
| 336 | assert path == "/" |
| 337 | assert node == "" |
| 338 | |
| 339 | path, node = H5File.split_path("/node") |
| 340 | assert path == "/" |
| 341 | assert node == "node" |
| 342 | |
| 343 | path, node = H5File.split_path("/group/node") |
| 344 | assert path == "/group" |
| 345 | assert node == "node" |
| 346 | |
| 347 | def test_join_path(self): |
| 348 | path = H5File.join_path("/", "a", "b", "c") |
nothing calls this directly
no test coverage detected