Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
from unstructured_client.utils.retries import BackoffStrategy, RetryConfig


FREEMIUM_URL = "https://api.unstructured.io"


@pytest.fixture(scope="module")
def client() -> UnstructuredClient:
_client = UnstructuredClient(api_key_auth=os.getenv("UNSTRUCTURED_API_KEY"))
Expand Down Expand Up @@ -47,7 +44,6 @@ def test_partition_strategies(split_pdf, strategy, client, doc_path):
)

response = client.general.partition(
server_url=FREEMIUM_URL,
request=req
)
assert response.status_code == 200
Expand Down Expand Up @@ -109,7 +105,6 @@ def test_partition_handling_server_error(error, split_pdf, monkeypatch, doc_path

with pytest.raises(sdk_raises):
response = client.general.partition(
server_url=FREEMIUM_URL,
request=req
)

Expand Down Expand Up @@ -220,7 +215,6 @@ async def call_api():
)

resp = client.general.partition(
server_url=FREEMIUM_URL,
request=req
)

Expand Down