mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Fix link filters/suspend tests.
This commit is contained in:
1 parent
8b91894fa4
commit
279b4d7b20
5 files changed
+43
-14
No files matched your search
@@ -130,8 +130,9 @@ def test_update_ubridge_udp_connection(node, async_run):
|
||||
"latency": [10]
|
||||
}
|
||||
|
||||
snio = NIOUDP(1245, "localhost", 1246, {})
|
||||
dnio = NIOUDP(1245, "localhost", 1244, filters)
|
||||
snio = NIOUDP(1245, "localhost", 1246)
|
||||
dnio = NIOUDP(1245, "localhost", 1244)
|
||||
dnio.filters = 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))
|
||||
mock.assert_called_with("VPCS-10", filters)
|
||||
|
||||
Reference in new issue
Block a user