From cf497e8829fa19642b297fb432bd93d7d336f7cb Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 29 Aug 2024 15:58:12 +0300 Subject: [PATCH] Update tests --- Makefile | 2 +- tests/commands/pkg/test_uninstall.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 09c0b838..e4c82fd3 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ format: black ./tests test: - py.test --verbose --exitfirst -n 6 --dist=loadscope tests --ignore tests/test_examples.py + pytest --verbose --exitfirst -n 6 --dist=loadscope tests --ignore tests/test_examples.py before-commit: isort format lint diff --git a/tests/commands/pkg/test_uninstall.py b/tests/commands/pkg/test_uninstall.py index 73e2179a..51627a75 100644 --- a/tests/commands/pkg/test_uninstall.py +++ b/tests/commands/pkg/test_uninstall.py @@ -63,6 +63,7 @@ def test_global_packages( "Bounce2", "ESP Async WebServer", "ESPAsyncTCP", + "ESPAsyncTCP", "Homie", ] # uninstall all deps @@ -100,6 +101,7 @@ def test_global_packages( "Bounce2", "ESP Async WebServer", "ESPAsyncTCP", + "ESPAsyncTCP", ] # remove specific dependency result = clirunner.invoke( @@ -115,6 +117,7 @@ def test_global_packages( "ArduinoJson", "AsyncMqttClient", "Bounce2", + "ESPAsyncTCP" ] # custom storage