Coverage for plugins/module_utils/validation.py : 100%
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
|
# -*- coding: utf-8 -*- # Copyright: (c) 2021, XLAB Steampunk <steampunk@xlab.si> # # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
"Expected '{0}' to be text or None, got {1}".format(param, type(val)) )
""" Given a list of params, module_params dict and a ServiceNow record, returns a list of params that are found neither in module_params, nor in the record itself (if it exists). Params must be a subset of record fields, and their values must be str or None. """
|