diff options
Diffstat (limited to 'addons/stock/tests/test_report.py')
| -rw-r--r-- | addons/stock/tests/test_report.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/tests/test_report.py b/addons/stock/tests/test_report.py index 9acac53a2a3..bdd7f7ee3f6 100644 --- a/addons/stock/tests/test_report.py +++ b/addons/stock/tests/test_report.py @@ -24,7 +24,7 @@ class TestReports(TransactionCase): report = self.env.ref('stock.label_lot_template') target = b'\n\n\n^XA\n^FO100,50\n^A0N,44,33^FD[C418]Mellohi^FS\n^FO100,100\n^A0N,44,33^FDLN/SN:Volume-Beta^FS\n^FO100,150^BY3\n^BCN,100,Y,N,N\n^FDVolume-Beta^FS\n^XZ\n\n\n' - rendering, qweb_type = report.render_qweb_text(lot1.id) + rendering, qweb_type = report._render_qweb_text(lot1.id) self.assertEqual(target, rendering.replace(b' ', b''), 'The rendering is not good') self.assertEqual(qweb_type, 'text', 'the report type is not good') |
