[MIG] report_py3o: Migration to 15.0

This commit is contained in:
Tran Thanh Phuc
2022-05-15 22:18:31 +07:00
committed by Alexandre D. Díaz
parent 19335d8a3e
commit 115559802e
11 changed files with 85 additions and 75 deletions

View File

@@ -165,7 +165,7 @@ class TestReportPy3o(TransactionCase):
with temporary_copy(flbk_filename) as tmp_filename:
self.report.py3o_template_fallback = tmp_filename
tools.config.misc["report_py3o"] = {
"root_tmpl_path": os.path.dirname(tmp_filename)
"root_tmpl_path": os.path.realpath(os.path.dirname(tmp_filename))
}
res = self.report._render(self.env.user.ids)
self.assertTrue(res)