forked from Mirror/pmbootstrap
test: test_questions_ui: use local aports (!1911)
This allows us to test the extras UI implementation without modifying some packages in pmaports.
This commit is contained in:
parent
181687a2d7
commit
7f0898f1c5
2 changed files with 13 additions and 0 deletions
|
@ -214,6 +214,8 @@ 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, ["invalid_UI", "weston"])
|
||||
assert pmb.config.init.ask_for_ui(args) == "weston"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue