From fb06966398dfaefba85f553c18455ddde27b20f3 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 23 Oct 2012 22:27:07 +0900 Subject: [PATCH] fix csv test --- tests/test_importing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_importing.py b/tests/test_importing.py index a40e68bb2..f3d757d9d 100644 --- a/tests/test_importing.py +++ b/tests/test_importing.py @@ -146,11 +146,11 @@ def test_csv(): i.run() # four problems - too many & too few fields, a missing front, and a # duplicate entry - assert len(i.log) == 5 + assert len(i.log) == 6 assert i.total == 5 # if we run the import again, it should update instead i.run() - assert len(i.log) == 5 + assert len(i.log) == 6 assert i.total == 5 # but importing should not clobber tags if they're unmapped n = deck.getNote(deck.db.scalar("select id from notes"))