From 4a22f5b6e7da9e9a55a67d8c0a53c4a1f2efbcf2 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 4 Jan 2009 05:41:28 +0900 Subject: [PATCH] fix a unit test now that back is not required/unique --- tests/test_importing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_importing.py b/tests/test_importing.py index 2f7026662..1ef3faa40 100644 --- a/tests/test_importing.py +++ b/tests/test_importing.py @@ -18,9 +18,9 @@ def test_csv(): file = unicode(os.path.join(testDir, "importing/text-2fields.txt")) i = csv.TextImporter(deck, file) i.doImport() - # three problems - missing front, missing back, dupe front - assert len(i.log) == 3 - assert i.total == 4 + # two problems - missing front, dupe front + assert len(i.log) == 2 + assert i.total == 5 deck.s.close() def test_mnemosyne10():