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

Method test06b_relative_path

tables/tests/test_links.py:237–251  ·  view source on GitHub ↗

Using soft links with relative paths (./ version)

(self)

Source from the content-addressed store, hash-verified

235 )
236
237 def test06b_relative_path(self):
238 """Using soft links with relative paths (./ version)"""
239
240 # Create new group
241 self.h5file.create_group("/group1", "group3")
242 # ... and relative link
243 lgroup3 = self.h5file.create_soft_link(
244 "/group1", "lgroup3", "./group3"
245 )
246 if common.verbose:
247 print("Relative path link:", lgroup3)
248 self.assertIn("/group1/lgroup3", self.h5file)
249 self._checkEqualityGroup(
250 self.h5file.root.group1.group3, self.h5file.root.group1.lgroup3()
251 )
252
253 def test07_walkNodes(self):
254 """Checking `walk_nodes` with `classname` option."""

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