def testSiblings(self):

        uids = self.uids
        ids = self.ids
        links = self.links

        assertEqual = self.assertEqual

        h = S3Hierarchy("test_lhierarchy")
        for uid in uids:

            parent = links[uid].parent_id
            siblings = set(node for node, _uid in ids.items()
                                if links[_uid].parent_id == parent)

            assertEqual(h.siblings(uids[uid], inclusive=True), siblings)
            siblings.discard(uids[uid])
            assertEqual(h.siblings(uids[uid], inclusive=False), siblings)

    # -------------------------------------------------------------------------
Remove a pointer from a node, raising a 400 if the pointer is not
dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3hierarchy.py/S3LinkedHierarchyTests.testSiblings--crossover with--dataset/ETHPy150Open CenterForOpenScience/osf.io/website/project/views/node.py/remove_pointer_from_folder