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

Method test01_open

tables/tests/test_links.py:44–58  ·  view source on GitHub ↗

Opening a file with hard links.

(self)

Source from the content-addressed store, hash-verified

42 )
43
44 def test01_open(self):
45 """Opening a file with hard links."""
46
47 self._reopen()
48 self._checkEqualityGroup(
49 self.h5file.root.group1, self.h5file.root.lgroup1, hardlink=True
50 )
51 self._checkEqualityLeaf(
52 self.h5file.root.arr1, self.h5file.root.group1.larr1, hardlink=True
53 )
54 self._checkEqualityLeaf(
55 self.h5file.root.lgroup1.arr2,
56 self.h5file.root.larr2,
57 hardlink=True,
58 )
59
60 def test02_removeLeaf(self):
61 """Removing a hard link to a Leaf."""

Callers

nothing calls this directly

Calls 3

_checkEqualityGroupMethod · 0.80
_checkEqualityLeafMethod · 0.80
_reopenMethod · 0.45

Tested by

no test coverage detected