

def _get_test_hosting_device_template_attr(self, name='device_template_1', enabled=True, host_category=VM_CATEGORY, **kwargs):
    data = {
        'tenant_id': kwargs.get('tenant_id', self._tenant_id),
        'name': name,
        'enabled': enabled,
        'host_category': self,
        'service_types': kwargs.get('service_types', DEFAULT_SERVICE_TYPES),
        'image': kwargs.get('image'),
        'flavor': kwargs.get('flavor'),
        'default_credentials_id': kwargs.get('default_credentials_id', DEFAULT_CREDENTIALS_ID),
        'configuration_mechanism': kwargs.get('configuration_mechanism'),
        'protocol_port': kwargs.get('protocol_port', 22),
        'booting_time': kwargs.get('booting_time', 0),
        'slot_capacity': kwargs.get('slot_capacity', 0),
        'desired_slots_free': kwargs.get('desired_slots_free', 0),
        'tenant_bound': kwargs.get('tenant_bound', []),
        'device_driver': kwargs.get('device_driver', NOOP_DEVICE_DRIVER),
        'plugging_driver': kwargs.get('plugging_driver', NOOP_PLUGGING_DRIVER),
    }
    return data

dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/cisco/device_manager/test_db_device_manager.py DeviceManagerTestCaseMixin._get_test_hosting_device_template_attr/VarMisuse@55/91 `host_category`->`self`