

def _list_cfg_agents_handling_hosting_device(self, hosting_device_id, expected_code=exc.HTTPOk.code, admin_context=True):
    path = ('/dev_mgr/hosting_devices/%s/%s.%s' % (hosting_device_id, ciscocfgagentscheduler.HOSTING_DEVICE_CFG_AGENTS, 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_cfg_agents_handling_hosting_device/original