Renaming an external link.
(self)
| 528 | ) |
| 529 | |
| 530 | def test05_rename(self): |
| 531 | """Renaming an external link.""" |
| 532 | |
| 533 | # Rename the link |
| 534 | lgroup1 = self.h5file.root.lgroup1 |
| 535 | lgroup1.rename("lgroup2") |
| 536 | lgroup2 = self.h5file.root.lgroup2 |
| 537 | if common.verbose: |
| 538 | print("Moved link:", lgroup2) |
| 539 | self.assertNotIn("/lgroup1", self.h5file) |
| 540 | self.assertIn("/lgroup2", self.h5file) |
| 541 | self._checkEqualityGroup( |
| 542 | self.exth5file.root.group1, self.h5file.root.lgroup2() |
| 543 | ) |
| 544 | |
| 545 | def test07_walkNodes(self): |
| 546 | """Checking `walk_nodes` with `classname` option.""" |
nothing calls this directly
no test coverage detected