We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b855f97 commit 2a32ed3Copy full SHA for 2a32ed3
1 file changed
tests/test_extension_utils.py
@@ -163,6 +163,14 @@ def test_parse_extension_list_response_data_missing_key_normalizes_control_chara
163
parse_extension_list_response_data({"bad\tkey": "value"})
164
165
166
+def test_parse_extension_list_response_data_missing_key_preserves_control_placeholders():
167
+ with pytest.raises(
168
+ HyperbrowserError,
169
+ match="Expected 'extensions' key in response but got \\[\\?\\?\\] keys",
170
+ ):
171
+ parse_extension_list_response_data({"\n\t": "value"})
172
+
173
174
def test_parse_extension_list_response_data_missing_key_handles_unprintable_keys():
175
class _BrokenStringKey:
176
def __str__(self) -> str:
0 commit comments