Merge branch 'master' of github.com:debanjum/semantic-search

This commit is contained in:
Saba 2021-12-16 20:36:36 -05:00
commit ee6aae3a40

View file

@ -3,6 +3,7 @@ from pathlib import Path
# External Packages
from fastapi.testclient import TestClient
import pytest
# Internal Packages
from src.main import app, model, config
@ -61,6 +62,7 @@ def test_regenerate_with_valid_search_type(search_config: ContentTypeConfig):
# ----------------------------------------------------------------------------------------------------
@pytest.mark.skip(reason="Flaky test. Search doesn't always return expected image path.")
def test_image_search(search_config: ContentTypeConfig):
# Arrange
config.content_type = search_config