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

Test: Stop publishing non-existing values in get_state

We removed several classes in the history, let's update the get_state to
remove methods, that are not used anymore.

Note that some of the variables were related to Avocado-vt, anyway the
usage of `get_state` from Avocado depends only on it's values. If
Avocado-vt needs to publish it's internal values, it can override this
method and do so, anyway at this point this is not necessary.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 29650ee4
......@@ -443,8 +443,8 @@ class Test(unittest.TestCase):
"""
if self.running and self.time_start:
self._update_time_elapsed()
preserve_attr = ['basedir', 'debugdir', 'depsdir', 'fail_reason',
'logdir', 'logfile', 'name', 'resultsdir', 'srcdir',
preserve_attr = ['basedir', 'fail_reason',
'logdir', 'logfile', 'name', 'srcdir',
'status', 'time_elapsed',
'traceback', 'workdir', 'whiteboard', 'time_start',
'time_end', 'running', 'paused', 'paused_msg',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册