Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wj-Mcat committed Jan 16, 2024
1 parent 7c4503c commit 793952c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions erniebot-agent/tests/unit_tests/tools/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from typing import List, Optional, Type, get_args
from uuid import uuid4

import requests
import responses
from openapi_spec_validator.readers import read_from_filename
from pydantic import Field
Expand All @@ -35,7 +34,7 @@
is_optional_type,
json_type,
)
from erniebot_agent.tools.utils import parse_json_response, tool_response_contains_file
from erniebot_agent.tools.utils import tool_response_contains_file
from erniebot_agent.utils.common import create_enum_class


Expand Down Expand Up @@ -545,7 +544,6 @@ async def test_enum_v2(self):
@responses.activate
async def test_enum_v3(self):
tool = self.toolkit.get_tool("enum_v3")

responses.post(
"http://example.com/enum_v3",
json={"enum_field": {"enum_array": ["1", "2", "4"]}, "no_enum_field": "no_enum_value"},
Expand Down

0 comments on commit 793952c

Please sign in to comment.