Skip to content

Commit 53655ea

Browse files
committed
revert changes to e2e test file
# Conflicts: # packages/toolbox-core/tests/test_e2e.py
1 parent ce72925 commit 53655ea

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/toolbox-core/tests/test_e2e.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
1514
import pytest
1615
import pytest_asyncio
1716

1817
from toolbox_core.client import ToolboxClient
1918
from toolbox_core.tool import ToolboxTool
2019

20+
2121
# --- Shared Fixtures Defined at Module Level ---
2222
@pytest_asyncio.fixture(scope="function")
2323
async def toolbox():
@@ -110,6 +110,7 @@ async def test_bind_params_callable(
110110
assert "row3" in response
111111
assert "row4" not in response
112112

113+
113114
@pytest.mark.asyncio
114115
@pytest.mark.usefixtures("toolbox_server")
115116
class TestAuth:
@@ -123,7 +124,6 @@ async def test_run_tool_unauth_with_auth(
123124
response = await tool(id="2")
124125
assert "row2" in response
125126

126-
127127
async def test_run_tool_no_auth(self, toolbox: ToolboxClient):
128128
"""Tests running a tool requiring auth without providing auth."""
129129
tool = await toolbox.load_tool("get-row-by-id-auth")
@@ -151,7 +151,6 @@ async def test_run_tool_auth(self, toolbox: ToolboxClient, auth_token1: str):
151151
response = await auth_tool(id="2")
152152
assert "row2" in response
153153

154-
155154
async def test_run_tool_param_auth_no_auth(self, toolbox: ToolboxClient):
156155
"""Tests running a tool with a param requiring auth, without auth."""
157156
tool = await toolbox.load_tool("get-row-by-email-auth")
@@ -161,7 +160,6 @@ async def test_run_tool_param_auth_no_auth(self, toolbox: ToolboxClient):
161160
):
162161
await tool()
163162

164-
165163
async def test_run_tool_param_auth(self, toolbox: ToolboxClient, auth_token1: str):
166164
"""Tests running a tool with a param requiring auth, with correct auth."""
167165
tool = await toolbox.load_tool(

0 commit comments

Comments
 (0)