mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
Merge pull request #60 from chreekat/fix-supermemo-test
Fix supermemo import test
This commit is contained in:
commit
9405ebe86b
1 changed files with 2 additions and 1 deletions
|
@ -297,7 +297,8 @@ def test_supermemo_xml_01_unicode():
|
||||||
assert i.total == 1
|
assert i.total == 1
|
||||||
cid = deck.db.scalar("select id from cards")
|
cid = deck.db.scalar("select id from cards")
|
||||||
c = deck.getCard(cid)
|
c = deck.getCard(cid)
|
||||||
assert c.factor == 5701
|
# Applies A Factor-to-E Factor conversion
|
||||||
|
assert c.factor == 2879
|
||||||
assert c.reps == 7
|
assert c.reps == 7
|
||||||
deck.close()
|
deck.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue