fixbug: prompt format error

This commit is contained in:
莘权 马 2023-07-28 16:34:30 +08:00
parent d7c1d9797f
commit d79fe56a38
2 changed files with 32 additions and 32 deletions

View file

@ -34,7 +34,7 @@ async def mock_write_teaching_plan_part():
{
"input": "AABBCC",
"name": "A",
"topic": "B",
"topic": WriteTeachingPlanPart.COURSE_TITLE,
"language": "C"
},
{
@ -52,7 +52,7 @@ async def mock_write_teaching_plan_part():
assert act.topic == seed.topic
assert str(act) == seed.topic
assert act.name == seed.name
assert act.rsp == "prompt"
assert act.rsp == "# prompt" if seed.topic == WriteTeachingPlanPart.COURSE_TITLE else "prompt"
def test_suite():