Checking renaming a Group and modify attributes afterwards.
(self)
| 535 | self.h5file.get_node("/agroup/agroup3") |
| 536 | |
| 537 | def test09c_renameGroup(self): |
| 538 | """Checking renaming a Group and modify attributes afterwards.""" |
| 539 | |
| 540 | self._reopen(mode="r+", node_cache_slots=self.node_cache_slots) |
| 541 | self.h5file.rename_node(self.h5file.root.agroup, "agroup3") |
| 542 | |
| 543 | # Ensure that we can modify attributes in the new group |
| 544 | group = self.h5file.root.agroup3 |
| 545 | group._v_attrs.TITLE = "Hello" |
| 546 | self.assertEqual(group._v_title, "Hello") |
| 547 | self.assertEqual(group._v_attrs.TITLE, "Hello") |
| 548 | |
| 549 | def test09d_renameGroup(self): |
| 550 | """Checking renaming a Group under a nested group.""" |
nothing calls this directly
no test coverage detected