pull/239/head
Julien Duponchelle 9 years ago
parent b36c5f25d2
commit b0fb2fcc6d

@ -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):

Loading…
Cancel
Save