From 6073016e2c41470a62961741e85f9bc5dd766972 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 92bf6fc..08521d5 100644 --- a/lib/oeqa/selftest/cases/updater.py +++ b/lib/oeqa/selftest/cases/updater.py @@ -214,7 +214,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 """ @@ -223,7 +223,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