Skip to content

Commit ac3d8f5

Browse files
committedJun 30, 2015
fix PyQgsServer test
1 parent 944f6ce commit ac3d8f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/src/python/test_qgsserver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from utilities import unitTestDataPath
2121

2222
# Strip path and content lenght because path may vary
23-
RE_STRIP_PATH=r'MAP=[^&]+|Content-Length: \d+'
23+
RE_STRIP_PATH=r'MAP=[^&]+(&)*|Content-Length: \d+'
2424

2525

2626
class TestQgsServer(unittest.TestCase):
@@ -75,7 +75,7 @@ def test_pluginfilters(self):
7575
except ImportError:
7676
print "QGIS Server plugins are not compiled. Skipping test"
7777
return
78-
78+
7979
class SimpleHelloFilter(QgsServerFilter):
8080
def requestReady(self):
8181
QgsMessageLog.logMessage("SimpleHelloFilter.requestReady")

0 commit comments

Comments
 (0)
Please sign in to comment.