diff --git a/libs/community/tests/integration_tests/document_loaders/parsers/test_azure_ai_speech_parser.py b/libs/community/tests/integration_tests/document_loaders/parsers/test_azure_ai_speech_parser.py index 70b47eb5189..976b410020a 100644 --- a/libs/community/tests/integration_tests/document_loaders/parsers/test_azure_ai_speech_parser.py +++ b/libs/community/tests/integration_tests/document_loaders/parsers/test_azure_ai_speech_parser.py @@ -57,7 +57,7 @@ def test_azure_speech_load_key_region_auto_detect_languages() -> None: region=SPEECH_SERVICE_REGION, auto_detect_languages=["zh-CN", "en-US"], ) - documents = loader.lazy_load() + documents = loader.load() assert "what" in documents[0].page_content.lower() @@ -68,7 +68,7 @@ def test_azure_speech_load_key_region_language() -> None: region=SPEECH_SERVICE_REGION, speech_recognition_language="en-US", ) - documents = loader.lazy_load() + documents = loader.load() assert "what" in documents[0].page_content.lower() @@ -76,7 +76,7 @@ def test_azure_speech_load_key_region() -> None: loader = _AzureAISpeechLoader( _get_audio_file_path(), api_key=SPEECH_SERVICE_KEY, region=SPEECH_SERVICE_REGION ) - documents = loader.lazy_load() + documents = loader.load() assert "what" in documents[0].page_content.lower()