Commit Graph

8 Commits

Author SHA1 Message Date
Holger Brunn
b4c2426486 [MIG] account_statement_import_camt: Migration to 17.0 2024-07-31 04:23:13 +02:00
Holger Brunn
7a62a01080 [IMP] account_statement_import_camt: pre-commit auto fixes 2024-07-31 04:23:13 +02:00
SilvioC2C
aa170d57e9 [IMP] account_statement_import_camt: refactor tests for inheritability
This refactoring will allow using `TestParser._do_parse_test()` method for subclasses defined in inheriting modules.

This way, if the new module defines new files in other paths than `account_statement_import_camt/test_files/`,
 subclasses of `TestParser` will still be able to use the `_do_parse_test()` method for imports and checks.

Moreover, a custom value can now be defined for the acceptable differing lines number between inputfile and goldenfile.

It will also maintain backward compatibility with the current usage of the method
 (ie: using only a filename with the assumption of finding it in `account_statement_import_camt/test_files/`).

NB: methods are now defined outside of `TestParser` to allow importing them directly, instead of inheriting from `TestParser`.
2024-07-31 04:23:13 +02:00
Stefan Rijnhart
9d3bc05330 [IMP] account_statement_import_camt: look for currency under Ntry
Encountered in a Camt.054 statement: currency listed under
/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/Amt/@Ccy
2024-07-31 04:23:13 +02:00
Maksym Yankin
f4b1d0afc9 [MIG] account_statement_import_camt: Migration to 15.0 2024-07-31 04:23:13 +02:00
Stefan Rijnhart
01b69c0e28 [FIX] Fix same eror in camt54 module 2024-07-31 04:23:13 +02:00
Luc De Meyer
574eb9a1c0 [14.0][FIX]camt import 2024-07-31 04:23:13 +02:00
Iryna Vyshnevska
64a0eb0aa7 [MIG][14.0] account_statement_import_camt_oca 2024-07-31 04:23:13 +02:00