From 1b20b2bbf956fdf9de2b9afc6085850edf468fcf Mon Sep 17 00:00:00 2001 From: imSp4rky Date: Tue, 20 Oct 2026 20:31:20 -0600 Subject: [PATCH] test(api): give the deep-nesting cache payload case a short id --- tests/remote/unit/test_cache_payload_safety.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/remote/unit/test_cache_payload_safety.py b/tests/remote/unit/test_cache_payload_safety.py index e4275673..d1a90623 100644 --- a/tests/remote/unit/test_cache_payload_safety.py +++ b/tests/remote/unit/test_cache_payload_safety.py @@ -37,7 +37,7 @@ def test_plain_json_is_safe(text) -> None: '{"py/reduce": [{"py/function": "builtins.print"}, {"py/tuple": ["x"]}]}', '{"py/object": "datetime.datetime", "__reduce__": [{"py/type": "collections.OrderedDict"}, []]}', '{"py/object": "datetime.datetime", "py/state": {}}', - "[" * 100000 + "]" * 100000, + pytest.param("[" * 100000 + "]" * 100000, id="deep-nesting"), ], ) def test_unsafe_payload_is_refused(text) -> None: