Skip to content

Commit 378cd6d

Browse files
committed
SDK-1565: Fix default Doc Scan API URL in client
1 parent c49eaff commit 378cd6d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

yoti_python_sdk/tests/doc_scan/test_doc_scan_client.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,10 @@ def test_should_throw_exception_for_supported_documents(_, doc_scan_client):
182182
doc_scan_exception = ex.value
183183
assert "Failed to retrieve supported documents" in str(doc_scan_exception)
184184
assert 404 == doc_scan_exception.status_code
185+
186+
187+
def test_should_use_correct_default_api_url(doc_scan_client):
188+
assert (
189+
doc_scan_client._DocScanClient__api_url
190+
== "https://api.yoti.com:443/idverify/v1"
191+
) # noqa

0 commit comments

Comments
 (0)