mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
Fix supermemo import test
Broken by 656698d
, "Add A Factor to E Factor conversion..."
This commit is contained in:
parent
3b20de173f
commit
349c95d17a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue