jayvdb added a comment. We also have a test for invalid certificate, test_https_cert_error, which works well, using the still invalid cert for https://www.omegawiki.org/.
The purpose of test_https_ignore_cert_error and test_https_cert_invalid was that pywikibot's threading for httplib2 failed to raise the exception on the second request to the same host, as the connection was cached. However now we are not using httplib threading, we may be able to retest with https://www.omegawiki.org/ . But the approach of https://gerrit.wikimedia.org/r/#/c/215507/ , testing with a dummy certificate, would be better. TASK DETAIL https://phabricator.wikimedia.org/T101138 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: XZise, jayvdb Cc: jayvdb, gerritbot, Ricordisamoa, valhallasw, pywikibot-bugs-list, Aklapper, XZise, Malyacko, P.Copp _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
