mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Some fixes for tests. Ref #1784
This commit is contained in:
1 parent
51b76b1e30
commit
7fd8fde020
6 files changed
+20
-20
No files matched your search
@@ -171,7 +171,7 @@ async def test_add_nio_binding_udp(vm):
|
||||
async def test_port_remove_nio_binding(vm):
|
||||
|
||||
nio = TraceNG.instance().create_nio({"type": "nio_udp", "lport": 4242, "rport": 4243, "rhost": "127.0.0.1"})
|
||||
await asyncio.ensure_future(vm.port_add_nio_binding(0, nio))
|
||||
await vm.port_add_nio_binding(0, nio)
|
||||
await vm.port_remove_nio_binding(0)
|
||||
assert vm._ethernet_adapter.ports[0] is None
|
||||
|
||||
|
||||
Reference in new issue
Block a user