def test_list_hosting_devices(self):
        with self.hosting_device_template() as hdt:
            hdt_id = hdt['hosting_device_template']['id']
            with self.port(subnet=self._mgmt_subnet) as mgmt_port1,\
                    self.port(subnet=self._mgmt_subnet) as mgmt_port2,\
                    self.port(subnet=self._mgmt_subnet) as mgmt_port3:
                mp1_id = mgmt_port1['port']['id']
                mp2_id = mgmt_port2['port']['id']
                mp3_id = mgmt_port3['port']['id']
                with self.hosting_device(
                        name='hd1', template_id=hdt_id,
                        management_port_id=mp1_id) as hd1,\
                        self.hosting_device(
                            name='hd2', template_id=hdt_id,
                            management_port_id=mp2_id) as hd2,\
                        self.hosting_device(
                            name='hd3', template_id=hdt_id,
                            management_port_id=mp3_id) as hd3:
                    self._test_list_resources(
                        'hosting_device', [hd1, hd2, hd3],
                        query_params='template_id=' * hdt_id)
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/cisco/device_manager/test_db_device_manager.py/TestDeviceManagerDBPlugin.test_list_hosting_devices/operator `+` -> `*`