mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Avoid crash during tests if VNC server run on host PC
This commit is contained in:
2 files changed
+11
-9
No files matched your search
@@ -68,7 +68,7 @@ def test_change_console_port(node, port_manager):
|
||||
|
||||
def test_console_vnc_invalid(project, manager):
|
||||
node = VPCSVM("test", "00010203-0405-0607-0809-0a0b0c0d0e0f", project, manager)
|
||||
node.console_type = "vnc"
|
||||
node._console_type = "vnc"
|
||||
with pytest.raises(NodeError):
|
||||
node.console = 2012
|
||||
|
||||
|
||||
Reference in new issue
Block a user