Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
The returned ssl errors have changed due to the external
site.
  • Loading branch information
nyalldawson committed Aug 12, 2018
1 parent 4945e97 commit 8fa7286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsfiledownloader.py
Expand Up @@ -134,7 +134,7 @@ def ssl_compare(self, name, url, error):

def test_sslExpired(self):
self.ssl_compare("expired", "https://expired.badssl.com/", "SSL Errors: ;The certificate has expired")
self.ssl_compare("self-signed", "https://self-signed.badssl.com/", "SSL Errors: ;The certificate is self-signed, and untrusted")
self.ssl_compare("self-signed", "https://self-signed.badssl.com/", "SSL Errors: ;The certificate has expired;The certificate is self-signed, and untrusted")
self.ssl_compare("untrusted-root", "https://untrusted-root.badssl.com/", "No certificates could be verified;SSL Errors: ;The issuer certificate of a locally looked up certificate could not be found;The root CA certificate is not trusted for this purpose")

def _set_slot(self, *args, **kwargs):
Expand Down

0 comments on commit 8fa7286

Please sign in to comment.