diff --git a/tests/src/python/CMakeLists.txt b/tests/src/python/CMakeLists.txt index d268f8c072e5..8e66b7d5d195 100644 --- a/tests/src/python/CMakeLists.txt +++ b/tests/src/python/CMakeLists.txt @@ -150,5 +150,5 @@ IF (WITH_SERVER) ADD_PYTHON_TEST(PyQgsServerAccessControl test_qgsserver_accesscontrol.py) ADD_PYTHON_TEST(PyQgsServerWFST test_qgsserver_wfst.py) ADD_PYTHON_TEST(PyQgsOfflineEditingWFS test_offline_editing_wfs.py) - ADD_PYTHON_TEST(PyQgsAuthManagerEnpointTest test_authmanager_endpoint.py) + ADD_PYTHON_TEST(PyQgsAuthManagerEndpointTest test_authmanager_endpoint.py) ENDIF (WITH_SERVER) diff --git a/tests/src/python/test_authmanager_endpoint.py b/tests/src/python/test_authmanager_endpoint.py index 50d712b67734..85bc68fddcef 100644 --- a/tests/src/python/test_authmanager_endpoint.py +++ b/tests/src/python/test_authmanager_endpoint.py @@ -8,7 +8,7 @@ configuration to access an HTTP Basic protected endpoint. -From build dir, run: ctest -R PyQgsAuthManagerEnpointTest -V +From build dir, run: ctest -R PyQgsAuthManagerEndpointTest -V .. note:: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/tests/src/python/test_qgsserver.py b/tests/src/python/test_qgsserver.py index 460859d2ee8c..e06b9ad5b413 100644 --- a/tests/src/python/test_qgsserver.py +++ b/tests/src/python/test_qgsserver.py @@ -27,10 +27,6 @@ import osgeo.gdal # Strip path and content length because path may vary -# Also strip all multi-attribute tags (Qt5 attr order is random) -# FIXME: this is a temporary workaround to make the test pass, a more -# robust implementation must check for attributes too -#RE_STRIP_UNCHECKABLE = b']*>|]*>|]*>|]*>|MAP=[^"]+|Content-Length: \d+|]*>|]*>|]*>|]*>|]*>|]*>|]*>|]*>' RE_STRIP_UNCHECKABLE = b'MAP=[^"]+|Content-Length: \d+' RE_ATTRIBUTES = b'[^>\s]+=[^>\s]+'