Allow html report to be opened by plan
Previously this value has to be specified from commandline.
Now tmt accepts this value from the plan which is handy for local
devel/debug sessions
@@ -193,7 +193,7 @@ class ReportHtml(tmt.steps.report.ReportPlugin):
# Show output file path
target = os.path.join(self.workdir, filename)
self.info("output", target, color='yellow')
- if not self.opt('open'):
+ if not self.get('open'):
return
# Open target in webbrowser
