Skip to content

Commit e1c8cb4

Browse files
committed
Fixed input variables
1 parent f33c154 commit e1c8cb4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

‎tests/test_web_api_documentation.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ def setUp(self, MockOpenAILib):
3030
strategy_string="cot")
3131
self.agent.init()
3232
self.simple_api_testing = SimpleWebAPIDocumentationUseCase(
33-
agent=self.agent )
34-
self.simple_api_testing.init()
33+
agent=self.agent
34+
)
35+
self.simple_api_testing.init({})
3536

3637
def test_initial_prompt(self):
3738
# Test if the initial prompt is set correctly

‎tests/test_web_api_testing.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ def setUp(self, MockOpenAILib):
2727

2828
self.agent.init()
2929
self.simple_api_testing = SimpleWebAPITestingUseCase(
30-
agent=self.agent,
31-
log=log,
32-
max_turns=len(self.mock_llm.responses)
30+
agent=self.agent
3331

3432
)
3533
self.simple_api_testing.init({})

0 commit comments

Comments
 (0)