From 040b4649e9068dc035d84970d92a1f17536ebdb9 Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Sat, 28 Jan 2023 16:25:47 +0100 Subject: [PATCH] Fix failing test This is due to slightly modified output format --- tests/integration/test_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_update.py b/tests/integration/test_update.py index e9db40b9..ba927b9a 100644 --- a/tests/integration/test_update.py +++ b/tests/integration/test_update.py @@ -9,4 +9,4 @@ def test_update_outdated_with_outdated_package(pipenv_instance_private_pypi, cmd p.pipenv(f"install {cmd_option} {package_name}==1.11") c = p.pipenv("update --outdated") assert isinstance(c.exception, SystemExit) - assert c.stdout_bytes.decode("utf-8").startswith(f"Package '{package_name}' out-of-date:") + assert f"Package '{package_name}' out-of-date:" in c.stdout_bytes.decode("utf-8")