Browse Source

FIX Adapt test suite to my recent commit to avoid double dot on filename extension

pull/78/head
Alexis de Lattre 8 years ago
parent
commit
613894c145
  1. 2
      report_py3o/tests/test_report_py3o.py

2
report_py3o/tests/test_report_py3o.py

@ -78,7 +78,7 @@ class TestReportPy3o(TransactionCase):
magick_response.iter_content.return_value = "test result" magick_response.iter_content.return_value = "test result"
res = report.render_report( res = report.render_report(
self.env.user.ids, report.report_name, {}) self.env.user.ids, report.report_name, {})
self.assertEqual(('test result', '.pdf'), res)
self.assertEqual(('test result', 'pdf'), res)
def test_report_template_configs(self): def test_report_template_configs(self):
report = self.env.ref("report_py3o.res_users_report_py3o") report = self.env.ref("report_py3o.res_users_report_py3o")

Loading…
Cancel
Save