File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ tests_x86_64_system_quick = [
224
224
' pc_cpu_hotplug_props' ,
225
225
' virtio_version' ,
226
226
' x86_cpu_model_versions' ,
227
+ ' vnc' ,
227
228
]
228
229
229
230
tests_x86_64_system_thorough = [
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+ #
1
3
# Simple functional tests for VNC functionality
2
4
#
3
5
# Copyright (c) 2018 Red Hat, Inc.
11
13
import socket
12
14
from typing import List
13
15
14
- from avocado_qemu import QemuSystemTest
16
+ from qemu_test import QemuSystemTest
15
17
16
18
17
19
VNC_ADDR = '127.0.0.1'
@@ -51,10 +53,7 @@ def find_free_ports(count: int) -> List[int]:
51
53
52
54
53
55
class Vnc (QemuSystemTest ):
54
- """
55
- :avocado: tags=vnc,quick
56
- :avocado: tags=machine:none
57
- """
56
+
58
57
def test_no_vnc (self ):
59
58
self .vm .add_args ('-nodefaults' , '-S' )
60
59
self .vm .launch ()
@@ -113,3 +112,6 @@ def test_change_listen(self):
113
112
self .assertFalse (check_connect (a ))
114
113
self .assertTrue (check_connect (b ))
115
114
self .assertTrue (check_connect (c ))
115
+
116
+ if __name__ == '__main__' :
117
+ QemuSystemTest .main ()
You can’t perform that action at this time.
0 commit comments