Skip to content

Commit 738b984

Browse files
committed
lint
1 parent 755d3e9 commit 738b984

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

packages/toolbox-core/tests/test_e2e.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ async def test_run_tool_unauth_with_auth(self, toolbox, auth_token2):
113113

114114
async def test_run_tool_no_auth(self, toolbox):
115115
"""Tests running a tool requiring auth without providing auth."""
116-
tool = await toolbox.load_tool(
117-
"get-row-by-id-auth",
118-
)
116+
tool = await toolbox.load_tool("get-row-by-id-auth")
119117
with pytest.raises(
120118
Exception,
121119
match="tool invocation not authorized. Please make sure your specify correct auth headers",
@@ -125,9 +123,7 @@ async def test_run_tool_no_auth(self, toolbox):
125123
async def test_run_tool_wrong_auth(self, toolbox, auth_token2):
126124
"""Tests running a tool with incorrect auth. The tool
127125
requires a different authentication than the one provided."""
128-
tool = await toolbox.load_tool(
129-
"get-row-by-id-auth",
130-
)
126+
tool = await toolbox.load_tool("get-row-by-id-auth")
131127
auth_tool = tool.add_auth_token_getters({"my-test-auth": lambda: auth_token2})
132128
with pytest.raises(
133129
Exception,
@@ -137,9 +133,7 @@ async def test_run_tool_wrong_auth(self, toolbox, auth_token2):
137133

138134
async def test_run_tool_auth(self, toolbox, auth_token1):
139135
"""Tests running a tool with correct auth."""
140-
tool = await toolbox.load_tool(
141-
"get-row-by-id-auth",
142-
)
136+
tool = await toolbox.load_tool("get-row-by-id-auth")
143137
auth_tool = tool.add_auth_token_getters({"my-test-auth": lambda: auth_token1})
144138
response = await auth_tool(id="2")
145139
assert "row2" in response

0 commit comments

Comments
 (0)