Fix oe-selftest for `aktualizr once`
CLI has changed
@@ -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,
