Skip to content

Adding tests for SSL config options #256

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

Merged
merged 12 commits into from
Nov 23, 2021
Merged

Adding tests for SSL config options #256

merged 12 commits into from
Nov 23, 2021

Conversation

robsdedude
Copy link
Contributor

No description provided.

@robsdedude robsdedude changed the title Adding tests for SSL config options [WIP] Adding tests for SSL config options Sep 23, 2021
@robsdedude robsdedude marked this pull request as ready for review September 23, 2021 15:08
Added feature flags
 * `API_SSL_CONFIG = "Feature:API:SSLCon`
 * `API_SSL_SCHEMES = "Feature:API:SSLSchemes"`
@robsdedude robsdedude changed the title [WIP] Adding tests for SSL config options Adding tests for SSL config options Sep 28, 2021
with self.subTest(scheme
+ "-" + str(driver_config)):
self._start_server("thehost_expired")
self.assertFalse(self._try_connect(scheme, "thehost",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be worth asserting the error as well? (I know it's currently not easy since try_connect just "passes" on the error... maybe add an optional assertion callback?)

Copy link
Contributor Author

@robsdedude robsdedude Oct 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll put that onto a Trello card and define it as out of scope of this PR. I need to wrap this work up for now. Other tasks gained higher priority. internal link

@robsdedude robsdedude requested a review from injectives October 5, 2021 13:13
@injectives injectives force-pushed the ssl-options branch 5 times, most recently from d88b471 to e3c482e Compare November 23, 2021 10:18
@injectives injectives force-pushed the ssl-options branch 5 times, most recently from e3d93fb to 90f7915 Compare November 23, 2021 10:58
@robsdedude robsdedude merged commit 27da217 into 4.4 Nov 23, 2021
@robsdedude robsdedude deleted the ssl-options branch November 23, 2021 13:50
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