There was an error while loading. Please reload this page.
1 parent c874b7c commit 6e8fdfdCopy full SHA for 6e8fdfd
1 file changed
l10n_es_facturae/tests/common.py
@@ -340,6 +340,11 @@ def test_facturae_with_extra_attachments(self):
340
]
341
}
342
)
343
+ # Ensure attachments data is correctly decoded on base64
344
+ attachments = self.move._get_facturae_move_attachments()
345
+ for attachment in attachments:
346
+ self.assertFalse(isinstance(attachment["data"], bytes))
347
+ self.assertTrue(isinstance(attachment["data"], str))
348
generated_facturae = self._create_facturae_file(self.move, force=True)
349
self.assertTrue(
350
generated_facturae.xpath(
0 commit comments