Skip to content

Commit

Permalink
add source to client config update test
Browse files Browse the repository at this point in the history
  • Loading branch information
hansent committed Feb 28, 2024
1 parent fa9246a commit 35d77f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/inference_sdk/unit_tests/http/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ async def example() -> None:
def test_setting_configuration_statically() -> None:
# given
http_client = InferenceHTTPClient(api_key="my-api-key", api_url="https://some.com")
configuration = InferenceConfiguration(visualize_labels=True)
configuration = InferenceConfiguration(visualize_labels=True, source="source-test")

# when
previous_configuration = http_client.inference_configuration
Expand Down

0 comments on commit 35d77f6

Please sign in to comment.