From 84c01ef4f985cc4436b8c59a3147e4384c70430d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Thu, 16 Jul 2026 14:21:41 +0100 Subject: [PATCH] Add a failing test --- test/autotag/test_hooks.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/autotag/test_hooks.py b/test/autotag/test_hooks.py index f693ef4af..8dc5a41f4 100644 --- a/test/autotag/test_hooks.py +++ b/test/autotag/test_hooks.py @@ -28,6 +28,16 @@ _p = pytest.param @pytest.mark.parametrize( "str_value, list_value, expected_warning, expected_list_value", [ + _p( + "", + None, + str_field_deprecation, + None, + id="empty str value should become None, warning raised", + marks=pytest.mark.xfail( + reason="Empty string should not become ['']" + ), + ), _p( "value", None,