From 86451a4155d4c050f04820343744d34bb1465a8e Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 26 Feb 2020 17:48:21 +0100 Subject: [PATCH] Fix tests --- tests/test_bpvf_processor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_bpvf_processor.py b/tests/test_bpvf_processor.py index f512910..f916fd1 100644 --- a/tests/test_bpvf_processor.py +++ b/tests/test_bpvf_processor.py @@ -1,6 +1,6 @@ import unittest -from ofx_processor.processors.bpvf import _process_name_and_memo +from ofx_processor.processors.bpvf import BpvfLine class MyTestCase(unittest.TestCase): @@ -8,7 +8,7 @@ class MyTestCase(unittest.TestCase): name = "business" memo = "2020-01-17" - result_name, result_memo = _process_name_and_memo(name, memo) + result_name, result_memo = BpvfLine._process_name_and_memo(name, memo) self.assertEqual(result_name, name) self.assertEqual(result_memo, memo) @@ -19,7 +19,7 @@ class MyTestCase(unittest.TestCase): expected_name = "GUY AND SONS FR LYON" expected_memo = "150120 CB****5874 0,90EUR 1 EURO = 1,000000" - result_name, result_memo = _process_name_and_memo(name, memo) + result_name, result_memo = BpvfLine._process_name_and_memo(name, memo) self.assertEqual(result_name, expected_name) self.assertEqual(result_memo, expected_memo) @@ -30,7 +30,7 @@ class MyTestCase(unittest.TestCase): expected_name = "Dott 75PARIS" expected_memo = "150120 CB****5874" - result_name, result_memo = _process_name_and_memo(name, memo) + result_name, result_memo = BpvfLine._process_name_and_memo(name, memo) self.assertEqual(result_name, expected_name) self.assertEqual(result_memo, expected_memo)