Skip to content

Commit 5312dc5

Browse files
Format extract schema validation tests for Ruff
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent fbe10f0 commit 5312dc5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/test_tools_extract.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ def test_extract_tool_runnable_rejects_non_mapping_non_string_schema():
148148
}
149149

150150
with pytest.raises(
151-
HyperbrowserError, match="Extract tool `schema` must be an object or JSON string"
151+
HyperbrowserError,
152+
match="Extract tool `schema` must be an object or JSON string",
152153
):
153154
WebsiteExtractTool.runnable(client, params)
154155

@@ -164,7 +165,8 @@ async def run():
164165
await WebsiteExtractTool.async_runnable(client, params)
165166

166167
with pytest.raises(
167-
HyperbrowserError, match="Extract tool `schema` must be an object or JSON string"
168+
HyperbrowserError,
169+
match="Extract tool `schema` must be an object or JSON string",
168170
):
169171
asyncio.run(run())
170172

0 commit comments

Comments
 (0)