From 349c95d17a2196ec6f04dfc807335d8403968d64 Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Wed, 12 Feb 2014 23:21:02 -0800 Subject: [PATCH] Fix supermemo import test Broken by 656698d, "Add A Factor to E Factor conversion..." --- 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 940d3642f..b644907b5 100644 --- a/tests/test_importing.py +++ b/tests/test_importing.py @@ -297,7 +297,7 @@ def test_supermemo_xml_01_unicode(): assert i.total == 1 cid = deck.db.scalar("select id from cards") c = deck.getCard(cid) - assert c.factor == 5701 + assert c.factor == int(i._afactor2efactor(float(5.701))*1000) assert c.reps == 7 deck.close()