Skip to content
Snippets Groups Projects
Commit 0f981d87 authored by Cleber Rosa's avatar Cleber Rosa Committed by Philippe Mathieu-Daudé
Browse files

acceptance/tests/vnc.py: use explicit syntax for enabling passwords


This matches the command line on 82a17d1d, where the "on" or "off"
should be explicitly given.

Signed-off-by: default avatarCleber Rosa <crosa@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210924185506.2542588-9-crosa@redhat.com>
parent 181e1ab2
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ def test_change_password_requires_a_password(self):
'Could not set password')
def test_change_password(self):
self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password')
self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password=on')
self.vm.launch()
self.assertTrue(self.vm.qmp('query-vnc')['return']['enabled'])
set_password_response = self.vm.qmp('change-vnc-password',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment