Skip to content

Commit

Permalink
Re-enable tests and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Feb 8, 2021
1 parent 50dc36e commit 41c848e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .ci/test_blocklist.txt
Expand Up @@ -11,7 +11,6 @@ qgis_sip_include
qgis_sip_uptodate

# Need a local postgres installation
PyQgsAuthManagerPKIPostgresTest
PyQgsAuthManagerOgrPostgresTest
PyQgsDbManagerPostgis

Expand Down
2 changes: 2 additions & 0 deletions tests/src/python/test_authmanager_password_postgres.py
Expand Up @@ -6,6 +6,8 @@
checks if QGIS can use a stored auth manager auth configuration to access
a Password protected postgres.
From build dir, run: ctest -R PyQgsAuthManagerPasswordPostgresTest -V
It uses a docker container as postgres/postgis server with certificates from tests/testdata/auth_system/certs_keys_2048
Use docker-compose -f .ci/travis/linux/docker-compose.travis.yml up postgres to start the server.
Expand Down
3 changes: 2 additions & 1 deletion tests/src/python/test_authmanager_pki_postgres.py
Expand Up @@ -6,6 +6,8 @@
checks if QGIS can use a stored auth manager auth configuration to access
a PKI protected postgres.
From build dir, run: ctest -R PyQgsAuthManagerPKIPostgresTest -V
It uses a docker container as postgres/postgis server with certificates from tests/testdata/auth_system/certs_keys_2048
Use docker-compose -f .ci/travis/linux/docker-compose.travis.yml up postgres to start the server.
Expand Down Expand Up @@ -81,7 +83,6 @@ def setUpAuth(cls):
assert (authm.storeAuthenticationConfig(cls.auth_config)[0])
assert cls.auth_config.isValid()


@classmethod
def setUpClass(cls):
"""Run before all tests:
Expand Down

0 comments on commit 41c848e

Please sign in to comment.