mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-29 15:59:42 +02:00
fix test_debug_code
This commit is contained in:
parent
ede04f20f6
commit
274747e72f
3 changed files with 40 additions and 5 deletions
File diff suppressed because one or more lines are too long
|
|
@ -48,7 +48,7 @@ def sort_array(arr):
|
|||
async def test_debug_code():
|
||||
debug_context = Message(content=DebugContext)
|
||||
new_code = await DebugCode().run(context=debug_context, code=CODE, runtime_result=ErrorStr)
|
||||
assert "def sort_array(arr)" in new_code
|
||||
assert "def sort_array(arr)" in new_code["code"]
|
||||
|
||||
|
||||
def test_messages_to_str():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue