From ede6eb6879026ba0c58974998b9c9c3346609e53 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Tue, 28 Feb 2023 19:31:16 -0600 Subject: [PATCH] Re-enable testing search and update API with image content type It may have been disabled due to issues with image search earlier --- tests/test_client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_client.py b/tests/test_client.py index 49580aa4..95e31048 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -33,7 +33,7 @@ def test_search_with_invalid_content_type(client): # ---------------------------------------------------------------------------------------------------- def test_search_with_valid_content_type(client): - for content_type in ["org", "markdown", "ledger", "music", "plugin1"]: + for content_type in ["org", "markdown", "ledger", "image", "music", "plugin1"]: # Act response = client.get(f"/api/search?q=random&t={content_type}") # Assert @@ -51,7 +51,7 @@ def test_update_with_invalid_content_type(client): # ---------------------------------------------------------------------------------------------------- def test_update_with_valid_content_type(client): - for content_type in ["org", "markdown", "ledger", "music", "plugin1"]: + for content_type in ["org", "markdown", "ledger", "image", "music", "plugin1"]: # Act response = client.get(f"/api/update?t={content_type}") # Assert @@ -69,7 +69,7 @@ def test_regenerate_with_invalid_content_type(client): # ---------------------------------------------------------------------------------------------------- def test_regenerate_with_valid_content_type(client): - for content_type in ["org", "markdown", "ledger", "music", "image", "plugin1"]: + for content_type in ["org", "markdown", "ledger", "image", "music", "plugin1"]: # Act response = client.get(f"/api/update?force=true&t={content_type}") # Assert