Skip to content

Commit

Permalink
Replace encrypt with sslEnabled parameter in HANA tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Rylov authored and mrylov committed Dec 7, 2020
1 parent cccd30b commit a595a42
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/src/python/test_provider_hana.py
Expand Up @@ -292,7 +292,7 @@ def testEncodeDecodeUri(self):
self.assertEqual(md.decodeUri(
"driver='/usr/sap/hdbclient/libodbcHDB.so' dbname='qgis_tests' host=localhost port=30015 "
"user='myuser' password='mypwd' srid=2016 table=\"public\".\"gis\" (geom) type=MultiPolygon key='id' "
"encrypt='true' sslCryptoProvider='commoncrypto' sslValidateCertificate='false' "
"sslEnabled='true' sslCryptoProvider='commoncrypto' sslValidateCertificate='false' "
"sslHostNameInCertificate='hostname.domain.com' sslKeyStore='mykey.pem' "
"sslTrustStore='server_root.crt' "),
{
Expand All @@ -308,7 +308,7 @@ def testEncodeDecodeUri(self):
'srid': '2016',
'type': 6,
'key': 'id',
'encrypt': 'true',
'sslEnabled': 'true',
'sslCryptoProvider': 'commoncrypto',
'sslValidateCertificate': 'false',
'sslHostNameInCertificate': 'hostname.domain.com',
Expand All @@ -328,19 +328,19 @@ def testEncodeDecodeUri(self):
'srid': '2016',
'type': 6,
'key': 'id',
'encrypt': 'true',
'sslEnabled': 'true',
'sslCryptoProvider': 'commoncrypto',
'sslValidateCertificate': 'false',
'sslHostNameInCertificate': 'hostname.domain.com',
'sslKeyStore': 'mykey.pem',
'sslTrustStore': 'server_root.crt',
'selectatid': False}),
"dbname='qgis_tests' driver='/usr/sap/hdbclient/libodbcHDB.so' user='myuser' "
"password='mypwd' srid=2016 encrypt='true' host='localhost' key='id' port='30015' "
"selectatid='false' sslCryptoProvider='commoncrypto' "
"dbname='qgis_tests' driver='/usr/sap/hdbclient/libodbcHDB.so' user='myuser' password='mypwd' "
"srid=2016 host='localhost' key='id' port='30015' selectatid='false' "
"sslCryptoProvider='commoncrypto' sslEnabled='true' "
"sslHostNameInCertificate='hostname.domain.com' sslKeyStore='mykey.pem' "
"sslTrustStore='server_root.crt' sslValidateCertificate='false' type='MultiPolygon' "
"table=\"public\".\"gis\" (geom)")
"sslTrustStore='server_root.crt' sslValidateCertificate='false' "
"type='MultiPolygon' table=\"public\".\"gis\" (geom)")


if __name__ == '__main__':
Expand Down

0 comments on commit a595a42

Please sign in to comment.