From 7795379d5c6aa7d3396c0153cc2557097b2a39d6 Mon Sep 17 00:00:00 2001 From: Laurent Bonnans Date: Mon, 28 Jan 2019 14:51:54 +0100 Subject: Fix oe-selftest for `aktualizr once` CLI has changed Signed-off-by: Laurent Bonnans --- lib/oeqa/selftest/cases/updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/oeqa/selftest/cases/updater.py b/lib/oeqa/selftest/cases/updater.py index 228b8a6..fd37e85 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py @@ -210,7 +210,7 @@ class ManualControlTests(OESelftestTestCase): def qemu_command(self, command): return qemu_send_command(self.qemu.ssh_port, command) - def test_manual_running_mode_once(self): + def test_manual_run_mode_once(self): """ Disable the systemd service then run aktualizr manually """ @@ -219,7 +219,7 @@ class ManualControlTests(OESelftestTestCase): self.assertIn(b'Can\'t open database', stdout, 'Aktualizr should not have run yet' + stderr.decode() + stdout.decode()) - stdout, stderr, retcode = self.qemu_command('aktualizr --running-mode=once') + stdout, stderr, retcode = self.qemu_command('aktualizr once') stdout, stderr, retcode = self.qemu_command('aktualizr-info') self.assertIn(b'Fetched metadata: yes', stdout, -- cgit v1.2.3-54-g00ecf