Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

Fix research action bug && Optimize universal file operation tools

Stitch-zc99f4bffe93b
diff --git a/tests/metagpt/utils/test_output_parser.py b/tests/metagpt/utils/test_output_parser.py
index e779d6647..c5ae73ac9 100644
--- a/tests/metagpt/utils/test_output_parser.py
+++ b/tests/metagpt/utils/test_output_parser.py
@@ -105,7 +105,7 @@ def test_parse_data():
),
]
)
-def test_extract_list_or_dict(text: str, data_type: str, parsed_data: list, expected_exception):
+def test_extract_struct(text: str, data_type: str, parsed_data: list, expected_exception):
def case():
resp = OutputParser.extract_struct(text, data_type)
assert resp == parsed_data