mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
10 files changed
+124
-9
No files matched your search
@@ -125,12 +125,11 @@ def test_change_aux_port(node, port_manager):
|
||||
|
||||
|
||||
def test_update_ubridge_udp_connection(node, async_run):
|
||||
filters = [{
|
||||
"type": "latency",
|
||||
"value": 10
|
||||
}]
|
||||
filters = {
|
||||
"latency": [10]
|
||||
}
|
||||
|
||||
snio = NIOUDP(1245, "localhost", 1246, [])
|
||||
snio = NIOUDP(1245, "localhost", 1246, {})
|
||||
dnio = NIOUDP(1245, "localhost", 1244, filters)
|
||||
with asyncio_patch("gns3server.compute.base_node.BaseNode._ubridge_apply_filters") as mock:
|
||||
async_run(node.update_ubridge_udp_connection('VPCS-10', snio, dnio))
|
||||
|
||||
Reference in new issue
Block a user