Bankimport: Force re-annotation for badly parsed files

This commit is contained in:
Raphael Michel
2017-05-30 18:43:53 +02:00
parent 43f4803da7
commit b2dfd8ab11
3 changed files with 10 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ class CsvImportTest(TestCase):
with open(os.path.join(DATA_DIR, filename), 'rb') as f:
data = csvimport.get_rows_from_file(f)
self.assertEqual(data, expected)
parsed = csvimport.parse(data, hint)
parsed, good = csvimport.parse(data, hint)
self.assertEqual(parsed, expected_parsed)
def test_sample_file_bbbank(self):