mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix importing unit test
dupes no longer incremented for updated notes
This commit is contained in:
parent
e4af18cf66
commit
98adddde6f
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ def test_anki2_updates():
|
|||
tmp = getUpgradeDeckPath("update2.apkg")
|
||||
imp = AnkiPackageImporter(dst, tmp)
|
||||
imp.run()
|
||||
assert imp.dupes == 1
|
||||
assert imp.dupes == 0
|
||||
assert imp.added == 0
|
||||
assert imp.updated == 1
|
||||
assert dst.noteCount() == 1
|
||||
|
|
Loading…
Reference in a new issue