Commit Graph

6 Commits

Author SHA1 Message Date
SilvioC2C
69d27185ba [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-03-18 11:08:27 +01:00
Stefan Rijnhart
d5182d1eef [IMP] account_statement_import_camt: look for currency under Ntry
Encountered in a Camt.054 statement: currency listed under
/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/Amt/@Ccy
2023-04-24 11:08:47 +07:00
Maksym Yankin
65b1067dd1 [MIG] account_statement_import_camt: Migration to 15.0 2023-04-24 11:08:47 +07:00
Stefan Rijnhart
7a7d4f5feb [FIX] Fix same eror in camt54 module 2023-04-24 11:08:47 +07:00
Luc De Meyer
36eed4efd5 [14.0][FIX]camt import 2023-04-24 11:08:47 +07:00
Iryna Vyshnevska
9ef1316fdb [MIG][14.0] account_statement_import_camt_oca 2023-04-24 11:08:47 +07:00