Skip to content

fix accessing real example.com in test cases#252

Merged
AaronAtDuo merged 1 commit intoduosecurity:masterfrom
rhiannonskuse:master
Feb 14, 2024
Merged

fix accessing real example.com in test cases#252
AaronAtDuo merged 1 commit intoduosecurity:masterfrom
rhiannonskuse:master

Conversation

@rhiannonskuse
Copy link
Copy Markdown
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
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