NF: deck2->col2
This commit is contained in:
parent
7d8818f855
commit
93ad194862
@ -125,12 +125,12 @@ def test_export_anki_due():
|
|||||||
os.unlink(newname)
|
os.unlink(newname)
|
||||||
e.exportInto(newname)
|
e.exportInto(newname)
|
||||||
# importing into a new deck, the due date should be equivalent
|
# importing into a new deck, the due date should be equivalent
|
||||||
deck2 = getEmptyCol()
|
col2 = getEmptyCol()
|
||||||
imp = Anki2Importer(deck2, newname)
|
imp = Anki2Importer(col2, newname)
|
||||||
imp.run()
|
imp.run()
|
||||||
c = deck2.getCard(c.id)
|
c = col2.getCard(c.id)
|
||||||
deck2.sched.reset()
|
col2.sched.reset()
|
||||||
assert c.due - deck2.sched.today == 1
|
assert c.due - col2.sched.today == 1
|
||||||
|
|
||||||
|
|
||||||
# def test_export_textcard():
|
# def test_export_textcard():
|
||||||
|
Loading…
Reference in New Issue
Block a user