Re-enable tests for image search

Verify if recent fixes resolve test flakiness
This commit is contained in:
Debanjum Singh Solanky
2022-08-20 14:21:04 +03:00
parent 82d2891765
commit 972523e8a9
3 changed files with 12 additions and 15 deletions

View File

@@ -15,7 +15,6 @@ from src.utils.rawconfig import ContentConfig, SearchConfig
# Test
# ----------------------------------------------------------------------------------------------------
@pytest.mark.skip(reason="upstream issues in loading image search model. disabled for now")
def test_image_search_setup(content_config: ContentConfig, search_config: SearchConfig):
# Act
# Regenerate image search embeddings during image setup
@@ -27,7 +26,6 @@ def test_image_search_setup(content_config: ContentConfig, search_config: Search
# ----------------------------------------------------------------------------------------------------
@pytest.mark.skip(reason="results inconsistent currently")
def test_image_search(content_config: ContentConfig, search_config: SearchConfig):
# Arrange
output_directory = resolve_absolute_path(web_directory)