]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
tests/functional/test_vnc: Remove the test_no_vnc test
authorThomas Huth <thuth@redhat.com>
Wed, 18 Dec 2024 13:14:36 +0000 (14:14 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 2 Jan 2025 07:58:08 +0000 (08:58 +0100)
This test matches exactly the first three lines of the following
test_no_vnc_change_password test, so there is exactly zero additional
test coverage in here.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20241218131439.255841-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/test_vnc.py

index e6328567c787ea15e9c476d6d3026fea3c3f745e..e600d75234d58a4b20ea11f146f7a9a1ff01c2d5 100755 (executable)
@@ -54,11 +54,6 @@ def find_free_ports(count: int) -> List[int]:
 
 class Vnc(QemuSystemTest):
 
-    def test_no_vnc(self):
-        self.vm.add_args('-nodefaults', '-S')
-        self.vm.launch()
-        self.assertFalse(self.vm.qmp('query-vnc')['return']['enabled'])
-
     def test_no_vnc_change_password(self):
         self.vm.add_args('-nodefaults', '-S')
         self.vm.launch()