File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -171,9 +171,13 @@ def test_parse_headers_env_json_preserves_hyperbrowser_json_errors(
171171 def _raise_hyperbrowser_error (_raw_headers : str ):
172172 raise HyperbrowserError ("custom header json failure" )
173173
174- monkeypatch .setattr ("hyperbrowser.header_utils.json.loads" , _raise_hyperbrowser_error )
174+ monkeypatch .setattr (
175+ "hyperbrowser.header_utils.json.loads" , _raise_hyperbrowser_error
176+ )
175177
176- with pytest .raises (HyperbrowserError , match = "custom header json failure" ) as exc_info :
178+ with pytest .raises (
179+ HyperbrowserError , match = "custom header json failure"
180+ ) as exc_info :
177181 parse_headers_env_json ('{"X-Trace-Id":"abc123"}' )
178182
179183 assert exc_info .value .original_error is None
You can’t perform that action at this time.
0 commit comments