mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-24 14:15:17 +02:00
add test_write_code_with_udfs_no_udf_found.
This commit is contained in:
parent
86e320be11
commit
3fc5080b81
1 changed files with 8 additions and 0 deletions
|
|
@ -323,3 +323,11 @@ async def test_write_code_with_udfs():
|
|||
output, output_type = await ep.run(rsp)
|
||||
assert output_type is True
|
||||
logger.info(output)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_write_code_with_udfs_no_udf_found():
|
||||
wudf = WriteCodeWithUDFs()
|
||||
rsp = await wudf.run("Identify if there is a dog in the picture.")
|
||||
logger.info(rsp)
|
||||
assert 'No udf found' in rsp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue