update reqs test to reflect new behaviour

This commit is contained in:
Damien Elmes 2020-01-23 17:32:17 +10:00
parent cfbacb46e3
commit 9548df1c0f

View file

@ -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", []]