diff --git a/Makefile b/Makefile index fa301e59..57aa76c4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ lint: - pylint -j 6 --rcfile=./.pylintrc ./platformio ./tests + pylint -j 6 --rcfile=./.pylintrc ./platformio pylint -j 6 --rcfile=./.pylintrc ./tests isort: diff --git a/tests/package/test_manager.py b/tests/package/test_manager.py index f014a66b..2c331dbe 100644 --- a/tests/package/test_manager.py +++ b/tests/package/test_manager.py @@ -349,7 +349,7 @@ def test_uninstall(isolated_pio_core, tmpdir_factory): assert lm.uninstall(foo_1_0_0_pkg.path, silent=True) assert lm.uninstall(bar_pkg, silent=True) - assert len(lm.get_installed()) == 0 + assert not lm.get_installed() # test uninstall dependencies assert lm.install("AsyncMqttClient-esphome @ 0.8.4", silent=True) @@ -360,7 +360,7 @@ def test_uninstall(isolated_pio_core, tmpdir_factory): lm = LibraryPackageManager(str(storage_dir)) assert lm.install("AsyncMqttClient-esphome @ 0.8.4", silent=True) assert lm.uninstall("AsyncMqttClient-esphome", silent=True) - assert len(lm.get_installed()) == 0 + assert not lm.get_installed() def test_registry(isolated_pio_core):