Re-enable tests and update docs

This commit is contained in:
Alessandro Pasotti 2021-02-02 09:11:24 +01:00 committed by Nyall Dawson
parent 50dc36eaef
commit 41c848e3ae
3 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,6 @@ qgis_sip_include
qgis_sip_uptodate
# Need a local postgres installation
PyQgsAuthManagerPKIPostgresTest
PyQgsAuthManagerOgrPostgresTest
PyQgsDbManagerPostgis

View File

@ -6,6 +6,8 @@ This is an integration test for QGIS Desktop Auth Manager postgres provider that
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.

View File

@ -6,6 +6,8 @@ This is an integration test for QGIS Desktop Auth Manager postgres provider that
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.
@ -81,7 +83,6 @@ class TestAuthManager(unittest.TestCase):
assert (authm.storeAuthenticationConfig(cls.auth_config)[0])
assert cls.auth_config.isValid()
@classmethod
def setUpClass(cls):
"""Run before all tests: