We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c6cb93 commit 096973cCopy full SHA for 096973c
tests/test_extension_utils.py
@@ -155,6 +155,14 @@ def test_parse_extension_list_response_data_missing_key_normalizes_blank_key_nam
155
parse_extension_list_response_data({" ": "value"})
156
157
158
+def test_parse_extension_list_response_data_missing_key_strips_surrounding_whitespace():
159
+ with pytest.raises(
160
+ HyperbrowserError,
161
+ match="Expected 'extensions' key in response but got \\[spaced-key\\] keys",
162
+ ):
163
+ parse_extension_list_response_data({" spaced-key ": "value"})
164
+
165
166
def test_parse_extension_list_response_data_missing_key_normalizes_control_characters():
167
with pytest.raises(
168
HyperbrowserError,
0 commit comments