Commit 89a49f60 authored by Jérome Perrin's avatar Jérome Perrin

payment_mean_sepa: py3

parent 6fd973f0
...@@ -263,7 +263,7 @@ class TestPaymentTransactionGroupPaymentSEPA(AccountingTestCase): ...@@ -263,7 +263,7 @@ class TestPaymentTransactionGroupPaymentSEPA(AccountingTestCase):
pain = lxml.etree.fromstring(f.getData()) pain = lxml.etree.fromstring(f.getData())
xmlschema = lxml.etree.XMLSchema( xmlschema = lxml.etree.XMLSchema(
lxml.etree.fromstring(str(getattr(self.portal, 'pain.001.001.02.xsd').data))) lxml.etree.fromstring(bytes(getattr(self.portal, 'pain.001.001.02.xsd').data)))
xmlschema.assertValid(pain) xmlschema.assertValid(pain)
self.assertEqual( self.assertEqual(
......
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