From 0e9050f2e888d3cc93f7d43f5173450f430ae42f Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 18 Aug 2016 00:30:51 +0300 Subject: [PATCH] Update lib search test --- tests/commands/test__lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/commands/test__lib.py b/tests/commands/test__lib.py index 9bd5b8ec..862c7f26 100644 --- a/tests/commands/test__lib.py +++ b/tests/commands/test__lib.py @@ -31,7 +31,7 @@ def test_search(clirunner, validate_cliresult): ["search", "DHT22", "--platform=timsp430"]) validate_cliresult(result) match = re.search(r"Found\s+(\d+)\slibraries:", result.output) - assert int(match.group(1)) == 1 + assert int(match.group(1)) > 1 def test_global_install_registry(clirunner, validate_cliresult,