Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
1 addition
and
1 deletion.
-
+1
−1
tests/src/python/test_qgsauthsystem.py
|
@@ -642,7 +642,7 @@ def testChain(path): |
|
|
# and a wrong domain is set |
|
|
self.assertTrue(len(QgsAuthCertUtils.validateCertChain(QgsAuthCertUtils.certsFromFile(path), 'my.wrong.domain', True)) > 0) |
|
|
|
|
|
# Test that a chain with an untrusted CA is not valid when the addRootCa argumentis true |
|
|
# Test that a chain with an untrusted CA is valid when the addRootCa argumentis true |
|
|
# and a right domain is set |
|
|
self.assertTrue(len(QgsAuthCertUtils.validateCertChain(QgsAuthCertUtils.certsFromFile(path), 'localhost', True)) == 0) |
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.