update unittest due to implement update

This commit is contained in:
better629 2024-01-15 20:22:04 +08:00
parent 71067c894b
commit 465279dfcc

View file

@ -18,5 +18,5 @@ async def test_action_serdeser(new_filename):
new_action = WritePRD(**ser_action_dict)
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
with pytest.raises(FileNotFoundError):
action_output = await new_action.run(with_messages=Message(content="write a cli snake game"))