Skip to content

Commit

Permalink
Cleanup default connection string in PyQgsHanaProvider
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 0871c51 commit 5b6ecd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_provider_hana.py
Expand Up @@ -108,8 +108,8 @@ class TestPyQgsHanaProvider(unittest.TestCase, ProviderTestCase):
@classmethod
def setUpClass(cls):
"""Run before all tests"""
cls.dbconn = 'driver=\'/usr/sap/hdbclient/libodbcHDB.so\' host=10.18.25.248 port=30115 dbname=\'\' ' \
'user=\'SYSTEM\' password=\'manager\' '
cls.dbconn = 'driver=\'/usr/sap/hdbclient/libodbcHDB.so\' host=localhost port=30015 dbname=\'\' ' \
'user=\'SYSTEM\' password=\'mypassword\' '
if 'QGIS_HANA_DB' in os.environ:
cls.dbconn = os.environ['QGIS_HANA_DB']
uri = QgsDataSourceUri(cls.dbconn)
Expand Down

0 comments on commit 5b6ecd5

Please sign in to comment.