@@ -269,70 +269,70 @@ async def test_queue_includes_user_agent_header() -> None:
269269 assert headers ["User-Agent" ].startswith ("decart-python-sdk/" )
270270
271271
272- # Tests for lucy-2
272+ # Tests for lucy-2.1
273273
274274
275275@pytest .mark .asyncio
276- async def test_queue_lucy2_v2v_with_prompt () -> None :
276+ async def test_queue_lucy21_v2v_with_prompt () -> None :
277277 client = DecartClient (api_key = "test-key" )
278278
279279 with patch ("decart.queue.client.submit_job" ) as mock_submit :
280- mock_submit .return_value = MagicMock (job_id = "job-lucy2 " , status = "pending" )
280+ mock_submit .return_value = MagicMock (job_id = "job-lucy21 " , status = "pending" )
281281
282282 job = await client .queue .submit (
283283 {
284- "model" : models .video ("lucy-2" ),
284+ "model" : models .video ("lucy-2.1 " ),
285285 "prompt" : "Restyle the scene with softer contrast and warmer highlights" ,
286286 "data" : b"fake video data" ,
287287 "enhance_prompt" : True ,
288288 "seed" : 42 ,
289289 }
290290 )
291291
292- assert job .job_id == "job-lucy2 "
292+ assert job .job_id == "job-lucy21 "
293293 assert job .status == "pending"
294294 mock_submit .assert_called_once ()
295295
296296
297297@pytest .mark .asyncio
298- async def test_queue_lucy2_v2v_with_empty_prompt_and_reference_image () -> None :
298+ async def test_queue_lucy21_v2v_with_empty_prompt_and_reference_image () -> None :
299299 client = DecartClient (api_key = "test-key" )
300300
301301 with patch ("decart.queue.client.submit_job" ) as mock_submit :
302- mock_submit .return_value = MagicMock (job_id = "job-lucy2 -ref" , status = "pending" )
302+ mock_submit .return_value = MagicMock (job_id = "job-lucy21 -ref" , status = "pending" )
303303
304304 job = await client .queue .submit (
305305 {
306- "model" : models .video ("lucy-2" ),
306+ "model" : models .video ("lucy-2.1 " ),
307307 "prompt" : "" ,
308308 "reference_image" : b"fake image data" ,
309309 "data" : b"fake video data" ,
310310 }
311311 )
312312
313- assert job .job_id == "job-lucy2 -ref"
313+ assert job .job_id == "job-lucy21 -ref"
314314 assert job .status == "pending"
315315 mock_submit .assert_called_once ()
316316
317317
318318@pytest .mark .asyncio
319- async def test_queue_lucy2_v2v_with_both_prompt_and_reference_image () -> None :
319+ async def test_queue_lucy21_v2v_with_both_prompt_and_reference_image () -> None :
320320 client = DecartClient (api_key = "test-key" )
321321
322322 with patch ("decart.queue.client.submit_job" ) as mock_submit :
323- mock_submit .return_value = MagicMock (job_id = "job-lucy2 -both" , status = "pending" )
323+ mock_submit .return_value = MagicMock (job_id = "job-lucy21 -both" , status = "pending" )
324324
325325 job = await client .queue .submit (
326326 {
327- "model" : models .video ("lucy-2" ),
327+ "model" : models .video ("lucy-2.1 " ),
328328 "prompt" : "Transform the scene" ,
329329 "reference_image" : b"fake image data" ,
330330 "data" : b"fake video data" ,
331331 "seed" : 123 ,
332332 }
333333 )
334334
335- assert job .job_id == "job-lucy2 -both"
335+ assert job .job_id == "job-lucy21 -both"
336336 assert job .status == "pending"
337337 mock_submit .assert_called_once ()
338338
0 commit comments