Skip to content

Commit

Permalink
Update comment about setting up test db
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Nov 14, 2019
1 parent c20ba1e commit 635f4c8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/src/python/test_provider_postgres.py
Expand Up @@ -1295,13 +1295,8 @@ def receive(self, msg):
def testStyleDatabaseWithService(self):
"""Test saving style in DB using a service file.
To run this test, you first need to create a service with:
[qgis_test]
host=localhost
port=5432
dbname=qgis_test
user=USERNAME
password=PASSWORD
To run this test, you first need to setup the test
database with tests/testdata/provider/testdata_pg.sh
"""
myconn = 'service=\'qgis_test\''
if 'QGIS_PGTEST_DB' in os.environ:
Expand Down

0 comments on commit 635f4c8

Please sign in to comment.