forked from Mirror/pmbootstrap
test: test_questions_ui: ensure that we can select "none" (!1911)
This commit is contained in:
parent
7f0898f1c5
commit
6731d02c4b
1 changed files with 3 additions and 0 deletions
|
@ -216,6 +216,9 @@ def test_questions_keymaps(args, monkeypatch):
|
||||||
def test_questions_ui(args, monkeypatch):
|
def test_questions_ui(args, monkeypatch):
|
||||||
args.aports = pmb_test.const.testdata + "/init_questions_device/aports"
|
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"])
|
fake_answers(monkeypatch, ["invalid_UI", "weston"])
|
||||||
assert pmb.config.init.ask_for_ui(args) == "weston"
|
assert pmb.config.init.ask_for_ui(args) == "weston"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue