diff --git a/account_bank_statement_import_camt/tests/test_import_bank_statement.py b/account_bank_statement_import_camt/tests/test_import_bank_statement.py index e01cbc3..19dfa65 100644 --- a/account_bank_statement_import_camt/tests/test_import_bank_statement.py +++ b/account_bank_statement_import_camt/tests/test_import_bank_statement.py @@ -10,6 +10,8 @@ import tempfile from openerp.tests.common import TransactionCase from openerp.tools.misc import file_open +from ..camt import CamtParser + DATA_DIR = 'account_bank_statement_import_camt/test_files/' @@ -18,7 +20,7 @@ class TestParser(TransactionCase): """Tests for the camt parser itself.""" def setUp(self): super(TestParser, self).setUp() - self.parser = self.env['account.bank.statement.import.camt.parser'] + self.parser = CamtParser() def _do_parse_test(self, inputfile, goldenfile): with file_open(inputfile) as testfile: