From 98adddde6fcc2a88c76b0fd97935f7f2d1753043 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 18 Nov 2018 15:27:37 +1000 Subject: [PATCH] fix importing unit test dupes no longer incremented for updated notes --- tests/test_importing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_importing.py b/tests/test_importing.py index 00c8af53b..67218d994 100644 --- a/tests/test_importing.py +++ b/tests/test_importing.py @@ -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