From fedf3162f1edb37f0c0699e854d15089a1b03876 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 26 Jul 2018 20:46:21 +0300 Subject: [PATCH] Fix "test_lib" test --- tests/commands/test_lib.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/commands/test_lib.py b/tests/commands/test_lib.py index e4db2e7e..4c9705fd 100644 --- a/tests/commands/test_lib.py +++ b/tests/commands/test_lib.py @@ -166,14 +166,12 @@ def test_global_lib_list(clirunner, validate_cliresult): assert sorted(items1) == sorted(items2) versions1 = [ - "{name}@{version}".format(**item) - for item in json.loads(result.output) + "{name}@{version}".format(**item) for item in json.loads(result.output) ] versions2 = [ 'ArduinoJson@5.8.2', 'ArduinoJson@5.10.1', 'AsyncMqttClient@0.8.2', - 'AsyncTCP@1.0.1', 'ESPAsyncTCP@1.1.3', 'NeoPixelBus@2.2.4', - 'PJON@07fe9aa', 'PJON@1fb26fd', 'PubSubClient@bef5814', - 'RFcontrol@77d4eb3f8a', 'RadioHead-1.62@0.0.0' + 'AsyncTCP@1.0.1', 'NeoPixelBus@2.2.4', 'PJON@07fe9aa', 'PJON@1fb26fd', + 'PubSubClient@bef5814', 'RFcontrol@77d4eb3f8a', 'RadioHead-1.62@0.0.0' ] assert set(versions1) >= set(versions2)