def test_both_thread_counts_set_in_env_non_languagebind_model(self):
        """Test when both media_download_thread_count and image_download_thread_count are set in env for non-languagebind model."""
        marqo_index = MarqoIndex(model_type='other')
        add_docs_params = AddDocsParams()
        os.environ[EnvVars.MARQO_MEDIA_DOWNLOAD_THREAD_COUNT_PER_REQUEST] = '8'
        os.environ[EnvVars.MARQO_IMAGE_DOWNLOAD_THREAD_COUNT_PER_REQUEST] = '15'
        result = _determine_thread_count(marqo_index, add_docs_params)
        self.assertEqual(result, 8)
Test when both media_download_thread_count and image_download_thread_count are set in env for non-languagebind model.
tests/integ_tests/tensor_search/test_media_download_thread_count.py