fix a unit test now that back is not required/unique

This commit is contained in:
Damien Elmes 2009-01-04 05:41:28 +09:00
parent cfa1789e76
commit 4a22f5b6e7

View file

@ -18,9 +18,9 @@ def test_csv():
file = unicode(os.path.join(testDir, "importing/text-2fields.txt")) file = unicode(os.path.join(testDir, "importing/text-2fields.txt"))
i = csv.TextImporter(deck, file) i = csv.TextImporter(deck, file)
i.doImport() i.doImport()
# three problems - missing front, missing back, dupe front # two problems - missing front, dupe front
assert len(i.log) == 3 assert len(i.log) == 2
assert i.total == 4 assert i.total == 5
deck.s.close() deck.s.close()
def test_mnemosyne10(): def test_mnemosyne10():