1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-25 23:41:02 +00:00

Fix a broken test

This commit is contained in:
Julien Duponchelle 2017-07-10 20:35:02 +02:00
parent 7f4eeb56fa
commit c6f28afb7c
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -143,8 +143,8 @@ def test_update_link(http_controller, tmpdir, project, compute, async_run):
node2._ports = [EthernetPort("E0", 0, 2, 4)] node2._ports = [EthernetPort("E0", 0, 2, 4)]
filters = { filters = {
"latency": 10, "latency": [10],
"frequency_drop": 50 "frequency_drop": [50]
} }
with asyncio_patch("gns3server.controller.udp_link.UDPLink.create") as mock: with asyncio_patch("gns3server.controller.udp_link.UDPLink.create") as mock:
@ -205,8 +205,8 @@ def test_list_link(http_controller, tmpdir, project, compute, async_run):
node2._ports = [EthernetPort("E0", 0, 2, 4)] node2._ports = [EthernetPort("E0", 0, 2, 4)]
filters = { filters = {
"latency": 10, "latency": [10],
"frequency_drop": 50 "frequency_drop": [50]
} }
nodes = [ nodes = [
{ {