Moving an external link.
(self)
| 512 | ) |
| 513 | |
| 514 | def test04_move(self): |
| 515 | """Moving an external link.""" |
| 516 | |
| 517 | # Move the link into another location |
| 518 | lgroup1 = self.h5file.root.lgroup1 |
| 519 | group2 = self.h5file.create_group("/", "group2") |
| 520 | lgroup1.move(group2, "lgroup2") |
| 521 | lgroup2 = self.h5file.root.group2.lgroup2 |
| 522 | if common.verbose: |
| 523 | print("Moved link:", lgroup2) |
| 524 | self.assertNotIn("/lgroup1", self.h5file) |
| 525 | self.assertIn("/group2/lgroup2", self.h5file) |
| 526 | self._checkEqualityGroup( |
| 527 | self.exth5file.root.group1, self.h5file.root.group2.lgroup2() |
| 528 | ) |
| 529 | |
| 530 | def test05_rename(self): |
| 531 | """Renaming an external link.""" |
nothing calls this directly
no test coverage detected