Skip to content
Snippets Groups Projects
Commit 3ee3b4f8 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Fix unit test

parent f37ca297
No related branches found
No related tags found
1 merge request!75Retrieve transcriptions from local cache in list_transcriptions
Pipeline #78360 passed
This commit is part of merge request !75. Comments created here will be created in the context of that merge request.
......@@ -1234,9 +1234,7 @@ def test_list_transcriptions_with_cache(responses, mock_elements_worker_with_cac
assert transcription == []
# Initialize SQLite cache with some transcriptions
mock_elements_worker_with_cache.cache.insert(
"transcriptions", TRANSCRIPTIONS_TO_INSERT
)
CachedTranscription.insert_many(TRANSCRIPTIONS_TO_INSERT)
expected_tr = TRANSCRIPTIONS_TO_INSERT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment