提交 5c1381e0 编写于 作者: C Cleber Rosa

avocado.core.test.Test: make report private

As as way to give `avocado.Test` users (test writers) a better sense of what
is the API allowed/intended for their use.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 8596547c
......@@ -459,13 +459,13 @@ class Test(unittest.TestCase):
self.log.error(e_line)
finally:
self._tag_end()
self.report()
self._report()
self.log.info("")
with open(self.logfile, 'r') as log_file_obj:
self.text_output = log_file_obj.read()
self._stop_logging()
def report(self):
def _report(self):
"""
Report result to the logging system.
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册