Lines Matching refs:k
158 for k, v in self.common.items():
159 if k == "extra_args":
161 extracted_common, d[k] = extract_fields_from_arg_list(
166 d[k] = copy.copy(v)
168 for k, v in self.scenarios[name].items():
169 if k == "extra_args":
174 if k in d:
175 if k == "filter":
176 d[k] = f"({d[k]}) and ({v})"
177 elif k not in ("extra_conf_files", "extra_overlay_confs",
179 if isinstance(d[k], str) and isinstance(v, list):
180 d[k] = [d[k]] + v
181 elif isinstance(d[k], list) and isinstance(v, str):
182 d[k] += [v]
183 elif isinstance(d[k], list) and isinstance(v, list):
184 d[k] += v
185 elif isinstance(d[k], str) and isinstance(v, str):
187 type = self.testsuite_valid_keys[k]["type"]
189 d[k] = v
191 d[k] = [d[k], v]
196 d[k] = v
198 d[k] = v
235 for k, kinfo in self.testsuite_valid_keys.items():
236 if k not in d:
249 d[k] = default
252 d[k] = self._cast_value(d[k], kinfo["type"])