mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix unit test
This commit is contained in:
parent
2cfa80b75b
commit
dd45746a41
1 changed files with 2 additions and 2 deletions
|
@ -84,11 +84,11 @@ def test_csv():
|
|||
i.run()
|
||||
# four problems - too many & too few fields, a missing front, and a
|
||||
# duplicate entry
|
||||
assert len(i.log) == 4
|
||||
assert len(i.log) == 5
|
||||
assert i.total == 5
|
||||
# if we run the import again, it should update instead
|
||||
i.run()
|
||||
assert len(i.log) == 4
|
||||
assert len(i.log) == 5
|
||||
assert i.total == 5
|
||||
# if updating is disabled, count will be 0
|
||||
i.update = False
|
||||
|
|
Loading…
Reference in a new issue