avocado.plugins.vm: Add the other missing important attributes of the Test class

This way, tests in vm that fail won't trigger a problem
on XML outputs and crash avocado.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 32451714
......@@ -36,10 +36,15 @@ class Test(object):
"""
def __init__(self, name, status, time):
note = "Not supported yet"
self.name = name
self.tagged_name = name
self.status = status
self.time_elapsed = time
self.fail_class = note
self.traceback = note
self.text_output = note
self.fail_reason = note
class VMTestRunner(TestRunner):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册