mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -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)
|
||||
assert opt["req"][1] == [1, "any", [1, 2]]
|
||||
# testing None
|
||||
opt["tmpls"][1]["qfmt"] = "{{^Add Reverse}}{{Back}}{{/Add Reverse}}"
|
||||
opt["tmpls"][1]["qfmt"] = "{{^Add Reverse}}{{/Add Reverse}}"
|
||||
mm.save(opt, templates=True)
|
||||
assert opt["req"][1] == [1, "none", []]
|
||||
|
||||
|
|
Loading…
Reference in a new issue