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:
Minecrell 2020-04-11 20:22:06 +02:00
parent 181687a2d7
commit 7f0898f1c5
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
2 changed files with 13 additions and 0 deletions

View File

@ -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"

View 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"
}