mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 19:36:24 +02:00
update write_prd ut
This commit is contained in:
parent
65671a3bca
commit
961fecf8c0
1 changed files with 1 additions and 1 deletions
|
|
@ -21,6 +21,6 @@ async def test_action_deserialize():
|
|||
action = WritePRD()
|
||||
serialized_data = action.model_dump()
|
||||
new_action = WritePRD(**serialized_data)
|
||||
assert new_action.name == ""
|
||||
assert new_action.name == "WritePRD"
|
||||
action_output = await new_action.run(with_messages=Message(content="write a cli snake game"))
|
||||
assert len(action_output.content) > 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue