1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-24 15:58:08 +00:00
This commit is contained in:
Julien Duponchelle 2015-06-10 14:33:44 +02:00
parent b36c5f25d2
commit b0fb2fcc6d

View File

@ -154,7 +154,7 @@ def test_add_nio_binding_tap(vm, ethernet_device):
with patch("gns3server.modules.base_manager.BaseManager._has_privileged_access", return_value=True):
nio = VPCS.instance().create_nio(vm.vpcs_path, {"type": "nio_tap", "tap_device": ethernet_device})
vm.port_add_nio_binding(0, nio)
assert nio.tap_device == "test"
assert nio.tap_device == ethernet_device
# def test_add_nio_binding_tap_no_privileged_access(vm):