Skip to content

Commit

Permalink
VNC Acceptance test: simplify test names
Browse files Browse the repository at this point in the history
The test name is composed of the class name and method name, so it
looks like there's some redundancy here that we can eliminate.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190607152223.9467-7-crosa@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
  • Loading branch information
clebergnu committed Aug 29, 2019
1 parent 83fa3bc commit 41a7af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/vnc.py
Expand Up @@ -34,7 +34,7 @@ def test_no_vnc_change_password(self):
self.assertEqual(set_password_response['error']['desc'],
'Could not set password')

def test_vnc_change_password_requires_a_password(self):
def test_change_password_requires_a_password(self):
self.vm.add_args('-nodefaults', '-S', '-vnc', ':0')
self.vm.launch()
self.assertTrue(self.vm.qmp('query-vnc')['return']['enabled'])
Expand All @@ -48,7 +48,7 @@ def test_vnc_change_password_requires_a_password(self):
self.assertEqual(set_password_response['error']['desc'],
'Could not set password')

def test_vnc_change_password(self):
def test_change_password(self):
self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password')
self.vm.launch()
self.assertTrue(self.vm.qmp('query-vnc')['return']['enabled'])
Expand Down

0 comments on commit 41a7af1

Please sign in to comment.