| 273 | ) |
| 274 | |
| 275 | def _checkEqualityLeaf(self, node1, node2, hardlink=False): |
| 276 | if verbose: |
| 277 | print("Leaf 1:", node1) |
| 278 | print("Leaf 2:", node2) |
| 279 | if hardlink: |
| 280 | self.assertTrue( |
| 281 | node1._v_pathname != node2._v_pathname, |
| 282 | "node1 and node2 have the same pathnames.", |
| 283 | ) |
| 284 | else: |
| 285 | self.assertTrue( |
| 286 | node1._v_pathname == node2._v_pathname, |
| 287 | "node1 and node2 does not have the same pathnames.", |
| 288 | ) |
| 289 | self.assertTrue( |
| 290 | areArraysEqual(node1[:], node2[:]), |
| 291 | "node1 and node2 does not have the same values.", |
| 292 | ) |
| 293 | |
| 294 | |
| 295 | class TestFileMixin: |