From f5b6c7a91defeee74cc329479a8f76db24e35eab Mon Sep 17 00:00:00 2001 From: NotPeopling2day <32708219+NotPeopling2day@users.noreply.github.com> Date: Thu, 4 Apr 2024 14:48:12 -0400 Subject: [PATCH] fix: plugin path assert (#1992) --- tests/functional/test_plugins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_plugins.py b/tests/functional/test_plugins.py index ee5098bb87..d27621a50f 100644 --- a/tests/functional/test_plugins.py +++ b/tests/functional/test_plugins.py @@ -167,7 +167,7 @@ def test_prepare_install(self): f"ape-available>=0.{ape_version.minor},<0.{ape_version.minor + 1}", "--quiet", ] - assert arguments[0].endswith("python") + assert "python" in arguments[0] assert arguments[1:] == expected def test_prepare_install_upgrade(self): @@ -183,7 +183,7 @@ def test_prepare_install_upgrade(self): f"ape-available>=0.{ape_version.minor},<0.{ape_version.minor + 1}", "--quiet", ] - assert arguments[0].endswith("python") + assert "python" in arguments[0] assert arguments[1:] == expected @mark_specifiers_less_than_ape