summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2019-06-07 11:22:21 -0400
committerCleber Rosa <crosa@redhat.com>2019-08-28 21:10:15 -0400
commit41a7af1ce0d50cfd06f8d329d97fb53e142c7df6 (patch)
tree4cc318dd68ff901b4e813196e58a18b45d3a488d
parent83fa3bc301e767caca06b4f4f994a483b6bab5c5 (diff)
downloadfocaccia-qemu-41a7af1ce0d50cfd06f8d329d97fb53e142c7df6.tar.gz
focaccia-qemu-41a7af1ce0d50cfd06f8d329d97fb53e142c7df6.zip
VNC Acceptance test: simplify test names
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>
-rw-r--r--tests/acceptance/vnc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/acceptance/vnc.py b/tests/acceptance/vnc.py
index 064ceabcc1..3f40bc2be1 100644
--- a/tests/acceptance/vnc.py
+++ b/tests/acceptance/vnc.py
@@ -34,7 +34,7 @@ class Vnc(Test):
         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'])
@@ -48,7 +48,7 @@ class Vnc(Test):
         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'])