File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ async def test_basic_audio(foscolo):
3939 # TODO remove once language detection is implemented
4040 extra_body = dict (language = "it" ),
4141 temperature = 0.0 )
42- out = json .loads (translation )['text' ].strip ()
43- assert "Nor will I ever touch the sacred " in out
42+ out = json .loads (translation )['text' ].strip (). lower ()
43+ assert "greek sea " in out
4444
4545
4646@pytest .mark .asyncio
@@ -168,5 +168,4 @@ async def test_long_audio_request(foscolo):
168168 response_format = "text" ,
169169 temperature = 0.0 )
170170 out = json .loads (translation )['text' ].strip ().lower ()
171- # TODO investigate higher model uncertainty in for longer translations.
172- assert out .count ("nor will i ever" ) == 2
171+ assert out .count ("greek sea" ) == 2
You can’t perform that action at this time.
0 commit comments