

def _list_hosting_devices_handled_by_cfg_agent(self, cfg_agent_id, expected_code=exc.HTTPOk.code, admin_context=True):
    path = ('/agents/%s/%s.%s' % (cfg_agent_id, ciscocfgagentscheduler.CFG_AGENT_HOSTING_DEVICES, self.fmt))
    return self._request_list(path, expected_code=expected_code, admin_context=admin_context)

dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/cisco/device_manager/test_hosting_device_cfg_agent_scheduler.py HostingDeviceCfgAgentSchedulerTestMixIn._list_hosting_devices_handled_by_cfg_agent/original