mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix tests
This commit is contained in:
2
docs
2
docs
Submodule docs updated: 5aaba30d88...c25f5d453c
@ -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
|
||||
|
Reference in New Issue
Block a user