MCPcopy Create free account
hub / github.com/PyTables/PyTables / test06a_relative_path

Method test06a_relative_path

tables/tests/test_links.py:223–235  ·  view source on GitHub ↗

Using soft links with relative paths.

(self)

Source from the content-addressed store, hash-verified

221 )
222
223 def test06a_relative_path(self):
224 """Using soft links with relative paths."""
225
226 # Create new group
227 self.h5file.create_group("/group1", "group3")
228 # ... and relative link
229 lgroup3 = self.h5file.create_soft_link("/group1", "lgroup3", "group3")
230 if common.verbose:
231 print("Relative path link:", lgroup3)
232 self.assertIn("/group1/lgroup3", self.h5file)
233 self._checkEqualityGroup(
234 self.h5file.root.group1.group3, self.h5file.root.group1.lgroup3()
235 )
236
237 def test06b_relative_path(self):
238 """Using soft links with relative paths (./ version)"""

Callers

nothing calls this directly

Calls 3

create_groupMethod · 0.80
create_soft_linkMethod · 0.80
_checkEqualityGroupMethod · 0.80

Tested by

no test coverage detected