Skip to content

Commit

Permalink
acceptance/tests/vnc.py: use explicit syntax for enabling passwords
Browse files Browse the repository at this point in the history
This matches the command line on 82a17d1, where the "on" or "off"
should be explicitly given.

Signed-off-by: Cleber Rosa <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
  • Loading branch information
clebergnu authored and philmd committed Sep 27, 2021
1 parent 181e1ab commit 0f981d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/acceptance/vnc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0f981d8

Please sign in to comment.