Revert move "/version" endpoint to "/server/version".

Move "/server/shutdown" endpoint to "/shutdown".
This commit is contained in:
grossmj committed 2016-06-01 18:21:07 -06:00
1 parent cd07a99118
commit f47eb326c7
7 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ def test_add_nio_binding_udp(vm, loop):
@pytest.mark.skipif(sys.platform.startswith("win"), reason="Not supported on Windows")
def test_add_nio_binding_ethernet(vm, loop, ethernet_device):
with patch("gns3server.compute.base_manager.BaseManager.has_privileged_access", return_value=True):
nio = Qemu.instance().create_nio(vm.qemu_path, {"type": "nio_generic_ethernet", "ethernet_device": ethernet_device})
nio = Qemu.instance().create_nio(vm.qemu_path, {"type": "nio_ethernet", "ethernet_device": ethernet_device})
loop.run_until_complete(asyncio.async(vm.adapter_add_nio_binding(0, nio)))
assert nio.ethernet_device == ethernet_device