@@ -164,7 +164,7 @@ def test_requesting_activity_details_with_correct_data(
164
164
activity_details = client .get_activity_details (encrypted_request_token )
165
165
166
166
mock_get .assert_called_once_with (
167
- url = expected_activity_details_url , headers = expected_get_headers
167
+ url = expected_activity_details_url , headers = expected_get_headers , verify = yoti_python_sdk . YOTI_API_VERIFY_SSL
168
168
)
169
169
assert isinstance (activity_details , ActivityDetails )
170
170
@@ -214,7 +214,7 @@ def test_requesting_activity_details_with_null_profile(
214
214
activity_details = client .get_activity_details (encrypted_request_token )
215
215
216
216
mock_get .assert_called_once_with (
217
- url = expected_activity_details_url , headers = expected_get_headers
217
+ url = expected_activity_details_url , headers = expected_get_headers , verify = yoti_python_sdk . YOTI_API_VERIFY_SSL
218
218
)
219
219
assert (
220
220
activity_details .user_id
@@ -243,7 +243,7 @@ def test_requesting_activity_details_with_empty_profile(
243
243
activity_details = client .get_activity_details (encrypted_request_token )
244
244
245
245
mock_get .assert_called_once_with (
246
- url = expected_activity_details_url , headers = expected_get_headers
246
+ url = expected_activity_details_url , headers = expected_get_headers , verify = yoti_python_sdk . YOTI_API_VERIFY_SSL
247
247
)
248
248
assert (
249
249
activity_details .user_id
@@ -272,7 +272,7 @@ def test_requesting_activity_details_with_missing_profile(
272
272
activity_details = client .get_activity_details (encrypted_request_token )
273
273
274
274
mock_get .assert_called_once_with (
275
- url = expected_activity_details_url , headers = expected_get_headers
275
+ url = expected_activity_details_url , headers = expected_get_headers , verify = yoti_python_sdk . YOTI_API_VERIFY_SSL
276
276
)
277
277
assert (
278
278
activity_details .user_id
@@ -345,7 +345,7 @@ def test_perform_aml_check_details_with_correct_data(
345
345
aml_profile_bytes = aml_profile_json .encode ()
346
346
347
347
mock_post .assert_called_once_with (
348
- url = expected_aml_url , headers = expected_post_headers , data = aml_profile_bytes
348
+ url = expected_aml_url , headers = expected_post_headers , data = aml_profile_bytes , verify = yoti_python_sdk . YOTI_API_VERIFY_SSL
349
349
)
350
350
351
351
assert isinstance (aml_result , aml .AmlResult )
0 commit comments