mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] report_py3o_fusion_server: requests.post returns bytes not str
This commit is contained in:
committed by
Alexis de Lattre
parent
6b55c4ef0d
commit
2b64b6c0e0
@@ -9,7 +9,7 @@ from odoo.addons.report_py3o.tests import test_report_py3o
|
||||
'requests.post', mock.Mock(
|
||||
return_value=mock.Mock(
|
||||
status_code=200,
|
||||
iter_content=mock.Mock(return_value=['test_result']),
|
||||
iter_content=mock.Mock(return_value=[b'test_result']),
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user