Commit 2a4b262b authored by Jérome Perrin's avatar Jérome Perrin

testERP5Core: py3

parent 571ba732
...@@ -644,7 +644,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -644,7 +644,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
self.portal.absolute_url(), self.portal.absolute_url(),
headers={ headers={
'Authorization': 'Basic %s' % \ 'Authorization': 'Basic %s' % \
base64.b64encode(self.auth) base64.b64encode(self.auth.encode()).decode()
} }
) )
response = connection.getresponse() response = connection.getresponse()
...@@ -725,7 +725,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -725,7 +725,7 @@ class TestERP5Core(ERP5TypeTestCase, ZopeTestCase.Functional):
self.assertEqual("""Path,Id,Title,Short Title,Reference,Codification,Int Index,Description self.assertEqual("""Path,Id,Title,Short Title,Reference,Codification,Int Index,Description
*,bar,Bar,SBar,,,3,desc *,bar,Bar,SBar,,,3,desc
*,foo,Foo,,Rfoo,CFoo,, *,foo,Foo,,Rfoo,CFoo,,
""", csv_data) """, csv_data.decode())
def test_ERP5Site_reindexLatestIndexedObjects(self): def test_ERP5Site_reindexLatestIndexedObjects(self):
module = self.portal.newContent(portal_type='Folder', id='test_folder') module = self.portal.newContent(portal_type='Folder', id='test_folder')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment