Skip to content

Commit

Permalink
fix some things
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter committed Jan 25, 2024
1 parent 59b639f commit 4d2f5f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import json
from typing import Dict, List, Optional
import urllib3

import requests
import urllib3


class AstraClient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def test_astra_pre_sync():
def test_astra_check(collection_name, describe_throws, reported_dimensions, check_succeeds, error_message):
indexer = create_astra_indexer()

indexer.client.create_collection = MagicMock()
indexer.client.find_collections = MagicMock()
indexer.client.find_collections.return_value = [create_index_description(collection_name=collection_name, dimensions=reported_dimensions)]

Expand Down

0 comments on commit 4d2f5f4

Please sign in to comment.