Skip to content

Commit

Permalink
Use the chain cert again
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 6, 2019
1 parent 98c1abb commit 936c330
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/src/python/test_authmanager_password_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@
__date__ = '25/10/2016'
__copyright__ = 'Copyright 2016, The QGIS Project'

os.environ['PGSSLROOTCERT'] = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../testdata/auth_system_cert_keys/issuer_ca_cert.pem')

qgis_app = start_app()


Expand Down Expand Up @@ -100,7 +98,7 @@ def setUpClass(cls):
authm = QgsApplication.authManager()
assert (authm.setMasterPassword('masterpassword', True))
cls.certsdata_path = os.path.join(unitTestDataPath('auth_system'), 'certs_keys')
cls.sslrootcert_path = os.path.join(cls.certsdata_path, 'issuer_ca_cert.pem')
cls.sslrootcert_path = os.path.join(cls.certsdata_path, 'chains_subissuer-issuer-root_issuer2-root2.pem')

def printMessage(tag, msg, level):
with open('/tmp/fmt.log', 'a') as f:
Expand Down

0 comments on commit 936c330

Please sign in to comment.