Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed test: added regexp to strip content length
  • Loading branch information
elpaso committed Jun 29, 2015
1 parent 4afeb9c commit df08281
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/src/python/test_qgsserver.py
Expand Up @@ -19,7 +19,9 @@
from qgis.core import QgsMessageLog
from utilities import unitTestDataPath

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


class TestQgsServer(unittest.TestCase):

Expand Down

0 comments on commit df08281

Please sign in to comment.