def test_threaded_download_images_non_tensor_field(self):
        """Tests add_docs.threaded_download_images(). URLs not in tensor fields should not be downloaded """
        good_url = TestImageUrls.HIPPO_REALISTIC.value
        bad_url = 'https://google.com/my_dog.png'
        examples = [
            ([{
                'field_1': bad_url,
                'field_2': good_url
            }], {
                 bad_url: PIL.UnidentifiedImageError,
                 good_url: types.ImageType
             }),
            ([{
                'nt_1': bad_url,
                'nt_2': good_url
            }], {}),
            ([{
                'field_1': bad_url,
                'nt_1': good_url
            }], {
                 bad_url: PIL.UnidentifiedImageError,
             }),
            ([{
                'nt_2': bad_url,
                'field_2': good_url
            }], {
                 good_url: types.ImageType
             }),
        ]
        for docs, expected_repo_structure in examples:
            media_repo = dict()
            add_docs.threaded_download_and_preprocess_content(
                allocated_docs=docs,
                media_repo=media_repo,
                tensor_fields=['field_1', 'field_2'],
                media_download_headers={},
                marqo_index_type=IndexType.Unstructured,
                marqo_index_model=Model(name="test", properties={}),
            )
            assert len(expected_repo_structure) == len(media_repo)
            for k in expected_repo_structure:
                assert isinstance(media_repo[k], expected_repo_structure[k])
Tests add_docs.threaded_download_images(). URLs not in tensor fields should not be downloaded 
tests/integ_tests/tensor_search/integ_tests/test_add_documents_combined.py