Avoid crash during tests if VNC server run on host PC

This commit is contained in:
Julien Duponchelle committed 2016-10-24 12:21:57 +02:00
1 parent 19d184e04c
commit 00fc2fa007
2 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -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