Skip to content

Commit 8fa7286

Browse files
committed
Fix failing test
The returned ssl errors have changed due to the external site.
1 parent 4945e97 commit 8fa7286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/python/test_qgsfiledownloader.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def ssl_compare(self, name, url, error):
134134

135135
def test_sslExpired(self):
136136
self.ssl_compare("expired", "https://expired.badssl.com/", "SSL Errors: ;The certificate has expired")
137-
self.ssl_compare("self-signed", "https://self-signed.badssl.com/", "SSL Errors: ;The certificate is self-signed, and untrusted")
137+
self.ssl_compare("self-signed", "https://self-signed.badssl.com/", "SSL Errors: ;The certificate has expired;The certificate is self-signed, and untrusted")
138138
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")
139139

140140
def _set_slot(self, *args, **kwargs):

0 commit comments

Comments
 (0)