

def test_show_hosting_device_template(self):
    name = 'hosting_device_template1'
    attrs = self._get_test_hosting_device_template_attr(name=name)
    with self.hosting_device_template(name=name) as hdt:
        req = self.new_show_request('hosting_device_templates', hdt['hosting_device_template']['id'], fmt=self.fmt)
        res = self.deserialize(self.fmt, req.get_response(self.ext_api))
        for (k, v) in six.iteritems(attrs):
            self.assertEqual(k, res['hosting_device_template'][k])

dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/cisco/device_manager/test_db_device_manager.py TestDeviceManagerDBPlugin.test_show_hosting_device_template/VarMisuse@102/151 `v`->`k`