mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix from kostas
This commit is contained in:
parent
f47a1a9d27
commit
e20a98d9be
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ def test_templates():
|
|||
# and should have updated the other cards' ordinals
|
||||
c = f.cards()[0]
|
||||
assert c.ord == 0
|
||||
stripHTML(c.q()) == "2"
|
||||
assert stripHTML(c.q()) == "1"
|
||||
# it shouldn't be possible to orphan notes by removing templates
|
||||
t = mm.newTemplate(m)
|
||||
mm.addTemplate(m, t)
|
||||
|
|
Loading…
Reference in a new issue