Skip to content

Commit

Permalink
- Skipped search and index api tests
Browse files Browse the repository at this point in the history
  • Loading branch information
duggalsu committed Feb 28, 2024
1 parent 282e7f6 commit 469d95e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tests/test_index_api_as_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def testIndexText(self):
self.assertEqual(response.status_code, 200)
# self.assertEqual(len(response.json()["vector_representation"]), 768)

# @skip
@skip
def testIndexImage(self):
url = API_URL + "/index"
headers = {"Content-Type": "application/json"}
Expand All @@ -60,7 +60,7 @@ def testIndexImage(self):
print(response.text)
self.assertEqual(response.status_code, 200)

# @skip
@skip
def testIndexVideo(self):
url = API_URL + "/index"
headers = {"Content-Type": "application/json"}
Expand Down
4 changes: 2 additions & 2 deletions src/tests/test_search_api_as_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def testSearchRawQuery(self):
# print(response.json())
self.assertEqual(response.status_code, 200)

# @skip
@skip
def testSearchImage(self):
url = API_URL + "/search"
data = {"query_type": "image"}
Expand All @@ -36,7 +36,7 @@ def testSearchImage(self):
self.assertEqual(response.status_code, 200)


# @skip
@skip
def testIndexVideo(self):
url = API_URL + "/search"
with open("tests/sample_data/sample-cat-video.mp4", "rb") as file:
Expand Down

0 comments on commit 469d95e

Please sign in to comment.