mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
fix a unit test now that back is not required/unique
This commit is contained in:
parent
cfa1789e76
commit
4a22f5b6e7
1 changed files with 3 additions and 3 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue