From 04d3901491efca8a04016caea78fc88b436f3d05 Mon Sep 17 00:00:00 2001 From: Bryan Richter Date: Wed, 12 Feb 2014 23:46:38 -0800 Subject: [PATCH] Test against the value itself --- tests/test_importing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_importing.py b/tests/test_importing.py index b644907b5..322b615f2 100644 --- a/tests/test_importing.py +++ b/tests/test_importing.py @@ -297,7 +297,8 @@ 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 == int(i._afactor2efactor(float(5.701))*1000) + # Applies A Factor-to-E Factor conversion + assert c.factor == 2879 assert c.reps == 7 deck.close()