From c6f28afb7ce6bf06fb8f3bfcefcf6a66179d16d9 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 10 Jul 2017 20:35:02 +0200 Subject: [PATCH] Fix a broken test --- tests/handlers/api/controller/test_link.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/handlers/api/controller/test_link.py b/tests/handlers/api/controller/test_link.py index e1ff8fa6..1dc86c99 100644 --- a/tests/handlers/api/controller/test_link.py +++ b/tests/handlers/api/controller/test_link.py @@ -143,8 +143,8 @@ def test_update_link(http_controller, tmpdir, project, compute, async_run): node2._ports = [EthernetPort("E0", 0, 2, 4)] filters = { - "latency": 10, - "frequency_drop": 50 + "latency": [10], + "frequency_drop": [50] } 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)] filters = { - "latency": 10, - "frequency_drop": 50 + "latency": [10], + "frequency_drop": [50] } nodes = [ {