summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2020-03-25 11:53:19 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2020-03-25 13:59:26 +0100
commitb1cdef48bee12264e4defa6a268e37e31823846d (patch)
tree962fcc4b7c0b51bfb19a5769fccf2239f8a55e14
parent661e7cb0aad564d1e4168fe27fcd470ea0d79c18 (diff)
downloadmeta-updater-b1cdef48bee12264e4defa6a268e37e31823846d.tar.gz
Fix oe-selftest log message casefeat/warrior/2020.4
Was changed recently Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
-rw-r--r--lib/oeqa/selftest/cases/testutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oeqa/selftest/cases/testutils.py b/lib/oeqa/selftest/cases/testutils.py
index 3455fa8..3abfa5e 100644
--- a/lib/oeqa/selftest/cases/testutils.py
+++ b/lib/oeqa/selftest/cases/testutils.py
@@ -139,10 +139,10 @@ def verifyProvisioned(testInst, machine, hwid=''):
139 testInst.assertEqual(stderr, b'', 'aktualizr-info failed: ' + stderr.decode() + stdout.decode()) 139 testInst.assertEqual(stderr, b'', 'aktualizr-info failed: ' + stderr.decode() + stdout.decode())
140 testInst.assertIn(b'Device ID: ', stdout, 'Provisioning failed: ' + stderr.decode() + stdout.decode()) 140 testInst.assertIn(b'Device ID: ', stdout, 'Provisioning failed: ' + stderr.decode() + stdout.decode())
141 if hwid == '': 141 if hwid == '':
142 testInst.assertIn(b'Primary ecu hardware ID: ' + machine.encode(), stdout, 142 testInst.assertIn(b'Primary ECU hardware ID: ' + machine.encode(), stdout,
143 'Provisioning failed: ' + stderr.decode() + stdout.decode()) 143 'Provisioning failed: ' + stderr.decode() + stdout.decode())
144 else: 144 else:
145 testInst.assertIn(b'Primary ecu hardware ID: ' + hwid.encode(), stdout, 145 testInst.assertIn(b'Primary ECU hardware ID: ' + hwid.encode(), stdout,
146 'Provisioning failed: ' + stderr.decode() + stdout.decode()) 146 'Provisioning failed: ' + stderr.decode() + stdout.decode())
147 testInst.assertIn(b'Fetched metadata: yes', stdout, 'Provisioning failed: ' + stderr.decode() + stdout.decode()) 147 testInst.assertIn(b'Fetched metadata: yes', stdout, 'Provisioning failed: ' + stderr.decode() + stdout.decode())
148 p = re.compile(r'Device ID: ([a-z0-9-]*)\n') 148 p = re.compile(r'Device ID: ([a-z0-9-]*)\n')