1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-15 12:25:09 +03:00

Add pmbootstrap bootimg_analyze / prompt during new device wizard (#905)

This commit is contained in:
drebrez 2017-11-19 15:35:23 +01:00 committed by Oliver Smith
parent 4c1836e9a1
commit 94e2387af5
11 changed files with 241 additions and 19 deletions

View file

@ -139,6 +139,7 @@ def test_aportgen_device_wizard(args, monkeypatch):
# fastboot (mkbootimg)
answers["overwrite"] = "y"
answers["Flash method"] = "fastboot"
answers["Path"] = ""
deviceinfo, apkbuild, apkbuild_linux = generate(args, monkeypatch, answers)
assert apkbuild["depends"] == ["linux-testsuite-testdevice", "mkbootimg"]
assert deviceinfo["flash_methods"] == answers["Flash method"]