diff --git a/tests/test_elements_worker/test_entities.py b/tests/test_elements_worker/test_entities.py index bfe9fdad8725d8c55d8d3f4ee5e6c1920e058a2d..4d9e4459b0885d13c2ecc3d0373930e6843e8354 100644 --- a/tests/test_elements_worker/test_entities.py +++ b/tests/test_elements_worker/test_entities.py @@ -449,12 +449,10 @@ def test_create_transcription_entity_no_confidence(responses, mock_elements_work mock_elements_worker.create_transcription_entity( transcription=Transcription( - Transcription( - { - "id": "11111111-1111-1111-1111-111111111111", - "element": {"id": "myelement"}, - } - ) + { + "id": "11111111-1111-1111-1111-111111111111", + "element": {"id": "myelement"}, + } ), entity="11111111-1111-1111-1111-111111111111", offset=5, @@ -493,12 +491,10 @@ def test_create_transcription_entity_with_confidence(responses, mock_elements_wo mock_elements_worker.create_transcription_entity( transcription=Transcription( - Transcription( - { - "id": "11111111-1111-1111-1111-111111111111", - "element": {"id": "myelement"}, - } - ) + { + "id": "11111111-1111-1111-1111-111111111111", + "element": {"id": "myelement"}, + } ), entity="11111111-1111-1111-1111-111111111111", offset=5, @@ -539,12 +535,10 @@ def test_create_transcription_entity_confidence_none(responses, mock_elements_wo mock_elements_worker.create_transcription_entity( transcription=Transcription( - Transcription( - { - "id": "11111111-1111-1111-1111-111111111111", - "element": {"id": "myelement"}, - } - ) + { + "id": "11111111-1111-1111-1111-111111111111", + "element": {"id": "myelement"}, + } ), entity="11111111-1111-1111-1111-111111111111", offset=5, @@ -604,12 +598,10 @@ def test_create_transcription_entity_with_cache( mock_elements_worker_with_cache.create_transcription_entity( transcription=Transcription( - Transcription( - { - "id": "11111111-1111-1111-1111-111111111111", - "element": {"id": "myelement"}, - } - ) + { + "id": "11111111-1111-1111-1111-111111111111", + "element": {"id": "myelement"}, + } ), entity="11111111-1111-1111-1111-111111111111", offset=5, @@ -679,12 +671,10 @@ def test_create_transcription_entity_with_confidence_with_cache( mock_elements_worker_with_cache.create_transcription_entity( transcription=Transcription( - Transcription( - { - "id": "11111111-1111-1111-1111-111111111111", - "element": {"id": "myelement"}, - } - ) + { + "id": "11111111-1111-1111-1111-111111111111", + "element": {"id": "myelement"}, + } ), entity="11111111-1111-1111-1111-111111111111", offset=5,