mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
refine tests
This commit is contained in:
parent
665ddba1c0
commit
78b7e164f9
2 changed files with 6 additions and 14 deletions
|
|
@ -91,6 +91,10 @@ class TestGetProjectRoot:
|
|||
x=(TutorialAssistant, RunCode(), "a"),
|
||||
want={"metagpt.roles.tutorial_assistant.TutorialAssistant", "metagpt.actions.run_code.RunCode", "a"},
|
||||
),
|
||||
Input(
|
||||
x={"a": TutorialAssistant, "b": RunCode(), "c": "a"},
|
||||
want={"a", "metagpt.roles.tutorial_assistant.TutorialAssistant", "metagpt.actions.run_code.RunCode"},
|
||||
),
|
||||
]
|
||||
for i in inputs:
|
||||
v = any_to_str_set(i.x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue