Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Jan 9, 2025
1 parent f88007f commit 92f4ed0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/test_retrieve.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@


def test_retrieve_hash(api_key: str):
retrieve = ChatNoirRetrieve(api_key)
retrieve = ChatNoirRetrieve(
api_key=api_key,
)
retrieve_hash = hash(retrieve)
assert isinstance(retrieve_hash, int)

Expand All @@ -26,9 +28,9 @@ def test_retrieve_query(api_key: str, query: str, index: Index):


def test_retrieve_feature(
api_key: str,
query: str,
feature: Feature,
api_key: str,
query: str,
feature: Feature,
):
retrieve = ChatNoirRetrieve(
api_key=api_key,
Expand Down

0 comments on commit 92f4ed0

Please sign in to comment.