mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
NF: deck2->col2
This commit is contained in:
parent
7d8818f855
commit
93ad194862
1 changed files with 5 additions and 5 deletions
|
@ -125,12 +125,12 @@ def test_export_anki_due():
|
|||
os.unlink(newname)
|
||||
e.exportInto(newname)
|
||||
# importing into a new deck, the due date should be equivalent
|
||||
deck2 = getEmptyCol()
|
||||
imp = Anki2Importer(deck2, newname)
|
||||
col2 = getEmptyCol()
|
||||
imp = Anki2Importer(col2, newname)
|
||||
imp.run()
|
||||
c = deck2.getCard(c.id)
|
||||
deck2.sched.reset()
|
||||
assert c.due - deck2.sched.today == 1
|
||||
c = col2.getCard(c.id)
|
||||
col2.sched.reset()
|
||||
assert c.due - col2.sched.today == 1
|
||||
|
||||
|
||||
# def test_export_textcard():
|
||||
|
|
Loading…
Reference in a new issue