fix importing unit test
dupes no longer incremented for updated notes
This commit is contained in:
parent
e4af18cf66
commit
98adddde6f
@ -121,7 +121,7 @@ def test_anki2_updates():
|
|||||||
tmp = getUpgradeDeckPath("update2.apkg")
|
tmp = getUpgradeDeckPath("update2.apkg")
|
||||||
imp = AnkiPackageImporter(dst, tmp)
|
imp = AnkiPackageImporter(dst, tmp)
|
||||||
imp.run()
|
imp.run()
|
||||||
assert imp.dupes == 1
|
assert imp.dupes == 0
|
||||||
assert imp.added == 0
|
assert imp.added == 0
|
||||||
assert imp.updated == 1
|
assert imp.updated == 1
|
||||||
assert dst.noteCount() == 1
|
assert dst.noteCount() == 1
|
||||||
|
Loading…
Reference in New Issue
Block a user