test: upgrade: Add some debug print to see whats happen over time

This commit is contained in:
Mattias Walström
2024-12-13 20:32:07 +01:00
parent 5608e9457d
commit a4ef38fbee
+1
View File
@@ -118,6 +118,7 @@ with infamy.Test() as test:
oper = target.get_dict("/system-state/software")
installer = oper["system-state"]["software"]["installer"]
if installer["operation"] == "idle":
print(installer)
if "last-error" in installer:
print("Install failed:", installer["last-error"])
test.fail()