update write_prd ut

This commit is contained in:
better629 2023-12-29 09:24:34 +08:00
parent 65671a3bca
commit 961fecf8c0

View file

@ -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