Home
last modified time | relevance | path

Searched refs:getattr (Results 1 – 25 of 115) sorted by relevance

12345

/openbmc/openbmc/poky/bitbake/lib/layerindexlib/tests/
H A Drestapi.py59 for id in getattr(self.layerindex.indexes[0], type):
62 … self.assertTrue(id in getattr(reload.indexes[0], type), msg="Id number not in reloaded index")
64 …self.logger.debug("%s ? %s" % (getattr(self.layerindex.indexes[0], type)[id], getattr(reload.index…
66 …self.assertEqual(getattr(self.layerindex.indexes[0], type)[id], getattr(reload.indexes[0], type)[i…
82 for id in getattr(self.layerindex.indexes[0] ,type):
85 …self.assertTrue(id in getattr(reload.indexes[0], type), msg="Id number missing from reloaded data")
87 …self.logger.debug("%s ? %s" % (getattr(self.layerindex.indexes[0] ,type)[id], getattr(reload.index…
89 …self.assertEqual(getattr(self.layerindex.indexes[0] ,type)[id], getattr(reload.indexes[0], type)[i…
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Ddecorators.py53 cls = getattr(inspect.getmodule(meth),
63 testMethod = getattr(self, self._testMethodName)
173 return getattr(obj, key, default)
174 tc_method = getattr(obj, obj._testMethodName)
175 ret = getattr(tc_method, key, getattr(obj, key, default))
180 r = {k[len(__tag_prefix):]:getattr(o,k) for k in dir(o) if k.startswith(__tag_prefix)}
184 tc_method = getattr(obj, obj._testMethodName)
/openbmc/openbmc/poky/meta/lib/oeqa/core/
H A Dloader.py124 method = getattr(case, case._testMethodName, None)
172 for t in getattr(case, "__oeqa_testtags"):
176 method = getattr(case, test_name)
178 for t in getattr(method, "__oeqa_testtags"):
193 getattr(testCaseClass, 'setUpClass'))
195 getattr(testCaseClass, 'tearDownClass'))
206 getattr(testCaseClass, 'setUp'))
208 getattr(testCaseClass, 'tearDown'))
H A Drunner.py75 for (scase, msg) in getattr(self, t):
102 for resultclass in getattr(self, rtype):
207 alltags.extend(getattr(case, "__oeqa_testtags"))
211 method = getattr(case, test_name)
213 alltags.extend(getattr(method, "__oeqa_testtags"))
274 oetags = getattr(case, '__oeqa_testtags')
/openbmc/openbmc-test-automation/lib/
H A Dgen_arg.py208 setattr(module, key, getattr(__builtin__.arg_obj, key))
253 key, getattr(arg_obj, key), 0, indent, col1_width
275 arg_obj.__dict__[key] = getattr(module, key)
524 exit_function = getattr(module, "exit_function", None)
579 parser = getattr(module, "parser")
580 stock_list = getattr(module, "stock_list")
581 validate_parms = getattr(module, "validate_parms", None)
/openbmc/skeleton/pychassisctl/
H A Dchassis_control.py101 f = getattr(intf, "StartUnit")
109 f = getattr(intf, "StartUnit")
117 f = getattr(intf, "StartUnit")
140 f = getattr(intf, "StartUnit")
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templatetags/
H A Dfield_values_filter.py18 objects.append(getattr(item, field))
H A Dobjects_to_dictionaries_filter.py33 out[field] = getattr(item, field)
/openbmc/openbmc/poky/meta/lib/oeqa/
H A Doetest.py269 method = getattr(test, '_testMethodName', None)
275 tests = getattr(test, '_tests', [])
286 suites = filterByTagExp(suites, getattr(self, "tagexp", None))
295 methodname = getattr(test, '_testMethodName', None)
297 method = getattr(test, methodname)
298 depends_on = getattr(method, '_depends_on', None)
301 … if depends_on in [getattr(t, '_testMethodName', None) for t in self.getTests(dep_suite)]:
/openbmc/openbmc/poky/scripts/lib/
H A Dargparse_oe.py82 name = getattr(args, action.dest)
150 group = getattr(parser, '_group', None)
154 order = getattr(parser, '_order', 0)
H A Dbuildstats.py135 self._properties[name] = mean([getattr(t, name) for t in self._tasks])
307 val1 = getattr(bs1[pkg].tasks[task], stat_attr)
312 val2 = getattr(bs2[pkg].tasks[task], stat_attr)
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/
H A Drestapi.py297 for obj in getattr(index, objects, None):
299 if getattr(index, objects)[obj].layerbranch_id == layerbranchid:
300 filtered.append(getattr(index, objects)[obj]._data)
305 filtered.append(getattr(index, objects)[obj]._data)
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcommand.py84 command_method = getattr(self.cmds_sync, command)
86 … if not hasattr(command_method, 'readonly') or not getattr(command_method, 'readonly'):
89 if getattr(command_method, 'needconfig', True):
120 commandmethod = getattr(CommandsAsync, command)
121 needcache = getattr( commandmethod, "needcache" )
520 ret = getattr(d, method)(*args, **kwargs)
535 return getattr(d, method)(*args, **kwargs)
555 return getattr(d, method)(*args, **kwargs)
H A DCOW.py68 value = getattr(cls, nkey)
92 value = getattr(cls, key)
H A Dmain.py85 module_if = getattr(module, modulename)
86 if getattr(module_if, 'hidden_extension', False):
98 return getattr(module, modulename)
436 featureset = getattr(ui_module, "featureSet", [])
/openbmc/qemu/python/qemu/utils/
H A Dqemu_ga_client.py160 return getattr(self.qga, 'fsfreeze' + '_' + cmd)()
164 ret = getattr(self.qga, 'fstrim')(minimum=minimum)
173 getattr(self.qga, 'suspend' + '_' + mode)()
/openbmc/openbmc/poky/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/
H A Dtemplate.py86 assert not getattr(args, 'macro_expand', None), \
/openbmc/u-boot/scripts/kconfig/tests/
H A Dconftest.py232 lambda s, e: getattr(s, attr).find(e) >= 0,
236 return self._read_and_compare(lambda s, e: getattr(s, attr) == e,
/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py489 field.value = getattr(fuzz, field.name)(field.value)
493 for field in getattr(self, item[0]):
495 field.value = getattr(fuzz,
500 for field in getattr(self, item[0])[item[1]]:
501 field.value = getattr(fuzz, field.name)(field.value)
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/
H A Dosc.py72 if getattr(ud, 'revision', ''):
106 rev = getattr(ud, 'revision', "latest")
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/controllers/
H A Dfvp.py129 attr = getattr(self.terminals[terminal], name)
134 attr = getattr(self.terminals[terminal], name)
/openbmc/sdbusplus/tools/sdbusplus/
H A Dmain.py83 function = getattr(instance, valid_processes[args.process])
/openbmc/openbmc/poky/meta/lib/oeqa/controllers/
H A Dtesttargetloader.py67 obj = getattr(module, target)
/openbmc/u-boot/tools/binman/
H A Dfmap_util.py105 params = [getattr(obj, name) for name in names]
H A Dentry.py122 return getattr(module, 'Entry_%s' % module_name)
334 value = getattr(self, python_prop)
487 docs = getattr(module, '__doc__')

12345