From f37ca2977ee8a8d5b6a48d58e3136d477ecfbe81 Mon Sep 17 00:00:00 2001
From: Bastien Abadie <bastien@nextcairn.com>
Date: Mon, 29 Mar 2021 18:27:45 +0200
Subject: [PATCH] run most tests

---
 .../test_elements_worker/test_transcriptions.py  | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/tests/test_elements_worker/test_transcriptions.py b/tests/test_elements_worker/test_transcriptions.py
index aba64208..0e9e74c9 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"),
     ),
 ]
 
-- 
GitLab