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

Method test00_create

tables/tests/test_links.py:29–42  ·  view source on GitHub ↗

Creating hard links.

(self)

Source from the content-addressed store, hash-verified

27 self.assertIsNotNone(larr2)
28
29 def test00_create(self):
30 """Creating hard links."""
31
32 self._checkEqualityGroup(
33 self.h5file.root.group1, self.h5file.root.lgroup1, hardlink=True
34 )
35 self._checkEqualityLeaf(
36 self.h5file.root.arr1, self.h5file.root.group1.larr1, hardlink=True
37 )
38 self._checkEqualityLeaf(
39 self.h5file.root.lgroup1.arr2,
40 self.h5file.root.larr2,
41 hardlink=True,
42 )
43
44 def test01_open(self):
45 """Opening a file with hard links."""

Callers

nothing calls this directly

Calls 2

_checkEqualityGroupMethod · 0.80
_checkEqualityLeafMethod · 0.80

Tested by

no test coverage detected