test: test_questions_ui: ensure that we can select "none" (!1911)
This commit is contained in:
parent
7f0898f1c5
commit
6731d02c4b
|
@ -216,6 +216,9 @@ def test_questions_keymaps(args, monkeypatch):
|
|||
def test_questions_ui(args, monkeypatch):
|
||||
args.aports = pmb_test.const.testdata + "/init_questions_device/aports"
|
||||
|
||||
fake_answers(monkeypatch, ["none"])
|
||||
assert pmb.config.init.ask_for_ui(args) == "none"
|
||||
|
||||
fake_answers(monkeypatch, ["invalid_UI", "weston"])
|
||||
assert pmb.config.init.ask_for_ui(args) == "weston"
|
||||
|
||||
|
|
Loading…
Reference in New Issue