mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-23 11:22:21 +03:00
style: apply ruff format to the VPCS datapath test
This commit is contained in:
parent
c7ffe919dc
commit
3f2b44101f
@ -520,9 +520,7 @@ async def test_kernel_nio_attach_enslaves_the_anchor(vm):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
await _start_on_tap_datapath(vm)
|
await _start_on_tap_datapath(vm)
|
||||||
nio = VPCS.instance().create_nio(
|
nio = VPCS.instance().create_nio({"type": "nio_bridge", "bridge": "gns3testbridge", "filters": {"delay": [100]}})
|
||||||
{"type": "nio_bridge", "bridge": "gns3testbridge", "filters": {"delay": [100]}}
|
|
||||||
)
|
|
||||||
await vm.port_add_nio_binding(0, nio)
|
await vm.port_add_nio_binding(0, nio)
|
||||||
|
|
||||||
sent = [call[0][0] for call in vm._ubridge_send.call_args_list]
|
sent = [call[0][0] for call in vm._ubridge_send.call_args_list]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user