avocado.plugins.test_list: Clean up view after error

Make sure the paginator is cleaned up after displaying
an error.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 893e2f5f
......@@ -78,6 +78,7 @@ class TestList(plugin.Plugin):
if error_msg_parts:
for error_msg in error_msg_parts:
self.view.notify(event='error', msg=error_msg)
self.view.cleanup()
sys.exit(exit_codes.AVOCADO_FAIL)
test_matrix = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册