Skip to content
Snippets Groups Projects

Retrieve transcriptions from local cache in list_transcriptions

Merged Eva Bardou requested to merge retrieve-cached-transcriptions into master
All threads resolved!
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
@@ -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
Loading