Skip to content

Commit c34ae91

Browse files
authored
test: move from freemium to platform api (#240)
Update `test_integration` as we deprecated the freemium.
1 parent c3cf0a4 commit c34ae91

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

_test_unstructured_client/integration/test_integration_freemium.py renamed to _test_unstructured_client/integration/test_integration.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
from unstructured_client.utils.retries import BackoffStrategy, RetryConfig
1414

1515

16-
FREEMIUM_URL = "https://api.unstructured.io"
17-
18-
1916
@pytest.fixture(scope="module")
2017
def client() -> UnstructuredClient:
2118
_client = UnstructuredClient(api_key_auth=os.getenv("UNSTRUCTURED_API_KEY"))
@@ -47,7 +44,6 @@ def test_partition_strategies(split_pdf, strategy, client, doc_path):
4744
)
4845

4946
response = client.general.partition(
50-
server_url=FREEMIUM_URL,
5147
request=req
5248
)
5349
assert response.status_code == 200
@@ -109,7 +105,6 @@ def test_partition_handling_server_error(error, split_pdf, monkeypatch, doc_path
109105

110106
with pytest.raises(sdk_raises):
111107
response = client.general.partition(
112-
server_url=FREEMIUM_URL,
113108
request=req
114109
)
115110

@@ -220,7 +215,6 @@ async def call_api():
220215
)
221216

222217
resp = client.general.partition(
223-
server_url=FREEMIUM_URL,
224218
request=req
225219
)
226220

0 commit comments

Comments
 (0)