Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix accessing real example.com in test cases #252

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

rhiannonskuse
Copy link
Contributor

remove ssl certificate test failure bug - no longer accessing the real example.com

Description

Factor out the code that causes the issue into a function and mock that function in the test cases. Also, remove the temporary workaround.

Motivation and Context

https://cisco-sbg.atlassian.net/browse/ZTMSP-771
context: https://duosecurity.slack.com/archives/CJCHMJDL7/p1707334317810179

How Has This Been Tested?

ran nose2 with and without the changes in base.py - without the mocks (and the temporary workaround has been removed) 5 test cases fail. They pass with the mock.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)

@AaronAtDuo AaronAtDuo merged commit c25fc29 into duosecurity:master Feb 14, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants