Skip to content

Commit

Permalink
[Server 3.0] Typo in test name and removed obsolete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 29, 2016
1 parent 170ff9f commit 19585ee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/src/python/CMakeLists.txt
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion tests/src/python/test_authmanager_endpoint.py
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions tests/src/python/test_qgsserver.py
Expand Up @@ -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'<LatLongBoundingBox [^>]*>|<sld:UserDefinedSymbolization [^>]*>|<Attribute [^>]*>|<Layer [^>]*>|MAP=[^"]+|Content-Length: \d+|<OnlineResource[^>]*>|<BoundingBox[^>]*>|<WMS_Capabilities[^>]*>|<WFS_Capabilities[^>]*>|<element[^>]*>|<schema [^>]*>|<import [^>]*>|<gml:coordinates [^>]*>'
RE_STRIP_UNCHECKABLE = b'MAP=[^"]+|Content-Length: \d+'
RE_ATTRIBUTES = b'[^>\s]+=[^>\s]+'

Expand Down

0 comments on commit 19585ee

Please sign in to comment.