From 1bd6e898ad425206a32ae5203fac0b089cbe4a3f Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 18 Dec 2019 14:03:10 +0200 Subject: [PATCH] Fix tests --- docs | 2 +- tests/commands/test_lib.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs b/docs index 5aaba30d..c25f5d45 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 5aaba30d88cc49c7bdf9c593006e14189d13d9ce +Subproject commit c25f5d453c2dfd1bb3ac82c107082c0ed52179bb diff --git a/tests/commands/test_lib.py b/tests/commands/test_lib.py index b40935ee..dc5dc00a 100644 --- a/tests/commands/test_lib.py +++ b/tests/commands/test_lib.py @@ -230,7 +230,9 @@ def test_global_lib_update_check(clirunner, validate_cliresult): ) validate_cliresult(result) output = json.loads(result.output) - assert set(["RFcontrol", "NeoPixelBus"]) == set([l["name"] for l in output]) + assert set(["RFcontrol", "ESPAsyncTCP", "NeoPixelBus"]) == set( + [l["name"] for l in output] + ) def test_global_lib_update(clirunner, validate_cliresult): @@ -250,7 +252,7 @@ def test_global_lib_update(clirunner, validate_cliresult): result = clirunner.invoke(cmd_lib, ["-g", "update"]) validate_cliresult(result) assert result.output.count("[Detached]") == 5 - assert result.output.count("[Up-to-date]") == 11 + assert result.output.count("[Up-to-date]") == 10 assert "Uninstalling RFcontrol @ 77d4eb3f8a" in result.output # update unknown library