def testChildren(self):

        uids = self.uids
        rows = self.rows

        assertEqual = self.assertEqual

        h = S3Hierarchy("test_hierarchy")
        for uid in uids:
            assertEqual(h.children(uids[uid]),
                        set(row.id for row in rows.values()
                                   if row.parent == uids[uid]))

    # -------------------------------------------------------------------------
Test child node lookup
dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3hierarchy.py/S3HierarchyTests.testChildren