Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/unit/test_pluggable_http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import pytest

import apify_client as apify_client_module
import apify_client.http_clients as http_clients_module
from apify_client import ApifyClient, ApifyClientAsync
from apify_client.errors import ApifyApiError
from apify_client.http_clients import (
Expand Down Expand Up @@ -288,7 +289,6 @@ async def test_apify_client_async_with_custom_http_client_accepts_url_params() -

def test_public_exports() -> None:
"""HTTP client types are exposed from `apify_client.http_clients`, not the root namespace."""
http_clients_module = apify_client_module.http_clients
for name in ('HttpClient', 'HttpClientAsync', 'HttpResponse', 'ImpitHttpClient', 'ImpitHttpClientAsync'):
assert hasattr(http_clients_module, name)
assert not hasattr(apify_client_module, name)
Expand Down
Loading
Loading