[IMP] account_ebics - Add unit tests

Forward-port of the 18.0 tests. Add 108 tests (101 in the Community job):

- account_ebics: order numbers, camt and CFONB split per account,
  journal lookup, duplicate statements, download and upload wizards,
  client setup with real keys, key initialisation (INI/HIA/HPB),
  passphrase change, admin orders.
- account_ebics_batch: scheduled import, import log, reprocess.
- account_ebics_payment_order / account_ebics_batch_payment: upload of
  the payment file and link to the payment document.
- account_ebics_statement_import_test (new, test-only, not to install
  in production): installs the OCA camt and CFONB parsers in CI and
  runs the end-to-end statement import.
- account_ebics_oe_statement_import_test (new, test-only, Enterprise
  job only): same through the Odoo Enterprise camt import.

The bank is simulated by patching the EBICS transport; keys,
certificates and the INI letter are real, created in a temporary
directory. 19.0 differences: no account_ebics_oca_statement_import
module (its glue-specific tests are dropped), res.users.group_ids.
This commit is contained in:
Jérémy Didderen committed 2026-11-09 00:06:34 +01:00
1 parent 2dc0f0f957
commit cc6ef173f0
50 files changed
+2045 -5

No files matched your search

+1
View File
@@ -0,0 +1 @@
this is not an xml document