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
|
@ -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"
|
||||
|
||||
|
|
11
test/testdata/init_questions_device/aports/main/postmarketos-ui-weston/APKBUILD
vendored
Normal file
11
test/testdata/init_questions_device/aports/main/postmarketos-ui-weston/APKBUILD
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
pkgname=postmarketos-ui-weston
|
||||
pkgver=42
|
||||
pkgrel=0
|
||||
pkgdesc="(Wayland) Reference compositor (demo, not a phone interface)"
|
||||
url="https://postmarketos.org"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-or-later"
|
||||
|
||||
package() {
|
||||
mkdir "$pkgdir"
|
||||
}
|
Loading…
Reference in New Issue