aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/test_vnc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/test_vnc.py')
-rwxr-xr-xtests/functional/test_vnc.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/functional/test_vnc.py b/tests/functional/test_vnc.py
index 8c9953b..5c0ee5f 100755
--- a/tests/functional/test_vnc.py
+++ b/tests/functional/test_vnc.py
@@ -11,12 +11,12 @@
# later. See the COPYING file in the top-level directory.
import socket
-from typing import List
-from qemu.machine.machine import VMLaunchFailure
+from qemu.machine.machine import VMLaunchFailure
from qemu_test import QemuSystemTest
from qemu_test.ports import Ports
+
VNC_ADDR = '127.0.0.1'
def check_connect(port: int) -> bool:
@@ -55,6 +55,8 @@ class Vnc(QemuSystemTest):
except VMLaunchFailure as excp:
if "-vnc: invalid option" in excp.output:
self.skipTest("VNC support not available")
+ elif "Cipher backend does not support DES algorithm" in excp.output:
+ self.skipTest("No cryptographic backend available")
else:
self.log.info("unhandled launch failure: %s", excp.output)
raise excp