Skip to content

Fix failing test when running offline#1261

Merged
reaperhulk merged 1 commit intopyca:mainfrom
trail-of-forks:offline-tests
Oct 24, 2023
Merged

Fix failing test when running offline#1261
reaperhulk merged 1 commit intopyca:mainfrom
trail-of-forks:offline-tests

Conversation

@facutuesca
Copy link
Contributor

The test_set_default_verify_paths test fails if tests are run offline, due to not being able to connect to encrypted.google.com. This PR adds a change to skip that test if the connection cannot be made.

This fixes #68

cc @mhils @reaperhulk

@reaperhulk reaperhulk merged commit ac15b2f into pyca:main Oct 24, 2023
@facutuesca facutuesca deleted the offline-tests branch October 24, 2023 14:30
julianz- pushed a commit to julianz-/pyopenssl that referenced this pull request Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

OpenSSL.test.test_ssl.ContextTests.test_set_default_verify_paths() error with absent network connection

2 participants