提交 07195875 编写于 作者: L Lukáš Doktor

test: Get "params" directly from "__param" in "get_state"

This should allow easier integration with children that override
"self.params". Such classes should simply use custom "self.params" and
report their "self.custom_params" while in "get_state" the stock Avocado
params would be used.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 37fe4b61
......@@ -645,7 +645,7 @@ class Test(unittest.TestCase, TestData):
try:
state['params'] = [(path, key, value)
for path, key, value
in self.params.iteritems()]
in self.__params.iteritems()]
except Exception:
state['params'] = None
return state
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册