diff --git a/tests/test_elements_worker/test_transcriptions.py b/tests/test_elements_worker/test_transcriptions.py index aba64208805d3482472503eb59667f34aa660dd0..0e9e74c9bb9a6bdec9d112b775af4fe9941604eb 100644 --- a/tests/test_elements_worker/test_transcriptions.py +++ b/tests/test_elements_worker/test_transcriptions.py @@ -27,22 +27,18 @@ TRANSCRIPTIONS_SAMPLE = [ ] TRANSCRIPTIONS_TO_INSERT = [ CachedTranscription( - id=convert_str_uuid_to_hex("11111111-1111-1111-1111-111111111111"), - element_id=convert_str_uuid_to_hex("12341234-1234-1234-1234-123412341234"), + id=UUID("11111111-1111-1111-1111-111111111111"), + element_id=UUID("12341234-1234-1234-1234-123412341234"), text="Hello!", confidence=0.42, - worker_version_id=convert_str_uuid_to_hex( - "56785678-5678-5678-5678-567856785678" - ), + worker_version_id=UUID("56785678-5678-5678-5678-567856785678"), ), CachedTranscription( - id=convert_str_uuid_to_hex("22222222-2222-2222-2222-222222222222"), - element_id=convert_str_uuid_to_hex("12341234-1234-1234-1234-123412341234"), + id=UUID("22222222-2222-2222-2222-222222222222"), + element_id=UUID("12341234-1234-1234-1234-123412341234"), text="How are you?", confidence=0.42, - worker_version_id=convert_str_uuid_to_hex( - "90129012-9012-9012-9012-901290129012" - ), + worker_version_id=UUID("90129012-9012-9012-9012-901290129012"), ), ]