summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest
diff options
context:
space:
mode:
authorLaurent Bonnans <laurent.bonnans@here.com>2020-03-25 11:53:19 +0100
committerLaurent Bonnans <laurent.bonnans@here.com>2020-03-25 12:33:47 +0100
commit68820877358c54a232ef959a30af5ad8af1f3294 (patch)
tree25585aa83b09b7e2672a4d5f7a2434b6a32371b3 /lib/oeqa/selftest
parent3ab647b8b9996d70fe494eedc0c95a1acb34965c (diff)
downloadmeta-updater-68820877358c54a232ef959a30af5ad8af1f3294.tar.gz
Fix oe-selftest log message casefeat/2020.4
Was changed recently Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Diffstat (limited to 'lib/oeqa/selftest')
-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')