def test_image_thread_count_set_in_env(self):
        """Test that image_download_thread_count from environment variable overrides defaults when media thread counts are not set."""
        marqo_index = MarqoIndex(model_type='other')
        add_docs_params = AddDocsParams()
        os.environ[EnvVars.MARQO_IMAGE_DOWNLOAD_THREAD_COUNT_PER_REQUEST] = '30'
        result = _determine_thread_count(marqo_index, add_docs_params)
        self.assertEqual(result, 30)
Test that image_download_thread_count from environment variable overrides defaults when media thread counts are not set.
tests/integ_tests/tensor_search/test_media_download_thread_count.py