On 06/07/2019 12:22 PM, Cleber Rosa wrote:
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 <cr...@redhat.com>
---
  tests/acceptance/vnc.py | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Wainer dos Santos Moschetta <waine...@redhat.com>


diff --git a/tests/acceptance/vnc.py b/tests/acceptance/vnc.py
index 675fd507ed..d32ae46685 100644
--- a/tests/acceptance/vnc.py
+++ b/tests/acceptance/vnc.py
@@ -45,7 +45,7 @@ class VncUnixSocket(Test):
          self.socket_dir = tempfile.mkdtemp()
          self.socket_path = os.path.join(self.socket_dir, 'vnc-socket')
- def test_vnc_change_password_requires_a_password(self):
+    def test_change_password_requires_a_password(self):
          self.vm.add_args('-nodefaults', '-S',
                           '-vnc', 'unix:%s' % self.socket_path)
          self.vm.launch()
@@ -60,7 +60,7 @@ class VncUnixSocket(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', 'unix:%s,password' % self.socket_path)
          self.vm.launch()


Reply via email to