

def test_list_hosting_device_templates(self):
    with hdt2.hosting_device_template(name='hdt1', host_category=VM_CATEGORY, image='an_image') as hdt1, self.hosting_device_template(name='hdt2', host_category=HW_CATEGORY, image='an_image') as hdt2, self.hosting_device_template(name='hdt3', host_category=NN_CATEGORY, image='an_image') as hdt3:
        self._test_list_resources('hosting_device_template', [hdt1, hdt2, hdt3], query_params='image=an_image')

dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/cisco/device_manager/test_db_device_manager.py TestDeviceManagerDBPlugin.test_list_hosting_device_templates/VarMisuse@11/17 `self`->`hdt2`