diff --git a/tests/test_invoke.py b/tests/test_invoke.py index d35d12d6..b0c2d007 100644 --- a/tests/test_invoke.py +++ b/tests/test_invoke.py @@ -299,7 +299,7 @@ def test_install_plugin_missing_plugin(new_plugin_dir: Path, monkeypatch: Monkey stderr=subprocess.STDOUT, ) - error_message_chunk = "Could not find any '*.hmplugin'" + error_message_chunk = "None or more than one '*.hmplugin' found" assert result.returncode == 1 assert error_message_chunk in result.stdout.decode("utf-8")