-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conversation
Added feature flags * `API_SSL_CONFIG = "Feature:API:SSLCon` * `API_SSL_SCHEMES = "Feature:API:SSLSchemes"`
36de3e0 to
59be11b
Compare
| with self.subTest(scheme | ||
| + "-" + str(driver_config)): | ||
| self._start_server("thehost_expired") | ||
| self.assertFalse(self._try_connect(scheme, "thehost", |
There was a problem hiding this comment.
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?)
There was a problem hiding this comment.
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
Co-authored-by: Florent Biville <[email protected]>
d88b471 to
e3c482e
Compare
e3d93fb to
90f7915
Compare
90f7915 to
bad6bb4
Compare
bad6bb4 to
20aed2c
Compare
f6433f3 to
4066f76
Compare
No description provided.