diff --git a/tests/unit/forklift/test_legacy.py b/tests/unit/forklift/test_legacy.py index 38b91c21b966..e988fb0f666f 100644 --- a/tests/unit/forklift/test_legacy.py +++ b/tests/unit/forklift/test_legacy.py @@ -3043,7 +3043,7 @@ def storage_service_store(path, file_path, *, meta): [ ( "foo-1.0.whl", - "400 Invalid wheel filename (wrong number of parts): foo-1.0", + "400 Invalid wheel filename (wrong number of parts): 'foo-1.0'", ), ( "foo-1.0-q-py3-none-any.whl", @@ -3052,7 +3052,7 @@ def storage_service_store(path, file_path, *, meta): ( "foo-0.0.4test1-py3-none-any.whl", "400 Invalid wheel filename (invalid version): " - "foo-0.0.4test1-py3-none-any", + "'foo-0.0.4test1-py3-none-any'", ), ( "something.tar.gz",