NF: deck2->col2

This commit is contained in:
Arthur Milchior 2020-07-17 17:27:40 +02:00
parent 7d8818f855
commit 93ad194862

View File

@ -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():