Improve output of pio lib list and pio lib search commands

This commit is contained in:
Ivan Kravets
2016-12-29 01:31:44 +02:00
parent 1df89525e6
commit 72e94398bf
4 changed files with 37 additions and 57 deletions

View File

@@ -125,7 +125,7 @@ def test_lib_show(clirunner, validate_cliresult, isolated_pio_home):
result = clirunner.invoke(cmd_lib, ["show", "64"])
validate_cliresult(result)
assert all([
s in result.output for s in ("ArduinoJson", "arduino", "atmelavr")
s in result.output for s in ("ArduinoJson", "Arduino", "Atmel AVR")
])
result = clirunner.invoke(cmd_lib, ["show", "OneWire"])
validate_cliresult(result)