Skip to content

Commit fc9ac15

Browse files
chore(internal): fix module client tests
1 parent 4f83487 commit fc9ac15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_module_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ def test_default_query_option() -> None:
7676

7777

7878
def test_http_client_option() -> None:
79-
assert openai.http_client is None
79+
assert replicate.http_client is None
8080

81-
original_http_client = openai.completions._client._client
81+
original_http_client = replicate.collections._client._client
8282
assert original_http_client is not None
8383

8484
new_client = httpx.Client()
85-
openai.http_client = new_client
85+
replicate.http_client = new_client
8686

87-
assert openai.completions._client._client is new_client
87+
assert replicate.collections._client._client is new_client

0 commit comments

Comments
 (0)