

def test_create_nn_hosting_device_template(self):
    attrs = self._get_test_hosting_device_template_attr(host_category=NN_CATEGORY)
    with self.hosting_device_template(host_category=NN_CATEGORY) as hdt:
        for (k, v) in six.iteritems(attrs):
            self.assertEqual(v, hdt['hosting_device_template'][attrs])

dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/cisco/device_manager/test_db_device_manager.py TestDeviceManagerDBPlugin.test_create_nn_hosting_device_template/VarMisuse@62/99 `k`->`attrs`