mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
update reqs test to reflect new behaviour
This commit is contained in:
parent
cfbacb46e3
commit
9548df1c0f
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ def test_req():
|
||||||
mm.save(opt, templates=True)
|
mm.save(opt, templates=True)
|
||||||
assert opt["req"][1] == [1, "any", [1, 2]]
|
assert opt["req"][1] == [1, "any", [1, 2]]
|
||||||
# testing None
|
# testing None
|
||||||
opt["tmpls"][1]["qfmt"] = "{{^Add Reverse}}{{Back}}{{/Add Reverse}}"
|
opt["tmpls"][1]["qfmt"] = "{{^Add Reverse}}{{/Add Reverse}}"
|
||||||
mm.save(opt, templates=True)
|
mm.save(opt, templates=True)
|
||||||
assert opt["req"][1] == [1, "none", []]
|
assert opt["req"][1] == [1, "none", []]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue