Skip to content

Commit

Permalink
Allow the execution of Oracle tests on an arbitrary DB
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Mercier committed Oct 31, 2019
1 parent 6e03a97 commit 737585d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_provider_oracle.py
Expand Up @@ -56,7 +56,7 @@ def setUpClass(cls):
cls.conn = QSqlDatabase.addDatabase('QOCISPATIAL', "oracletest")
cls.conn.setDatabaseName('10.0.0.2/orcl')
if 'QGIS_ORACLETEST_DBNAME' in os.environ:
cls.conn.setDatabaseName('QGIS_ORACLETEST_DBNAME')
cls.conn.setDatabaseName(os.environ['QGIS_ORACLETEST_DBNAME'])
cls.conn.setUserName('QGIS')
cls.conn.setPassword('qgis')
assert cls.conn.open()
Expand Down

0 comments on commit 737585d

Please sign in to comment.