From 4185b62d37b90909d304586a36705fe9e323108a Mon Sep 17 00:00:00 2001 From: Leynos Date: Sun, 21 Sep 2025 22:40:46 +0100 Subject: [PATCH] Test full success message for matching versions --- .../release-to-pypi-uv/tests/test_validate_toml_versions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/release-to-pypi-uv/tests/test_validate_toml_versions.py b/.github/actions/release-to-pypi-uv/tests/test_validate_toml_versions.py index ca7ef295..20ea9869 100644 --- a/.github/actions/release-to-pypi-uv/tests/test_validate_toml_versions.py +++ b/.github/actions/release-to-pypi-uv/tests/test_validate_toml_versions.py @@ -55,7 +55,10 @@ def test_passes_when_versions_match( _invoke_main(module, version="1.0.0") captured = capsys.readouterr() - assert "all versions match 1.0.0" in captured.out + assert ( + captured.out.strip() + == "Checked 1 PEP 621 project file(s); all versions match 1.0.0." + ) def test_fails_on_mismatch(