@skip('Requires settings for live DHIS2 server')
    def test_get_top_org_unit(self):
        # TODO: Make sure get_top_org_unit navigates up tree of org units
        dhis2_api = Dhis2Api(SETTINGS['dhis2_host'], SETTINGS['dhis2_username'], SETTINGS['dhis2_password'])
        org_unit = dhis2_api.get_top_org_unit()
        self.assertTrue(bool(org_unit['name']))
        self.assertTrue(bool(org_unit['id']))
get_top_org_unit should return the name and ID of the top org unit
dataset/ETHPy150Open dimagi/commcare-hq/custom/dhis2/tests.py/Dhis2ApiTest.test_get_top_org_unit