mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix PyQgsServer test
This commit is contained in:
parent
944f6ce520
commit
ac3d8f5cee
@ -20,7 +20,7 @@ from qgis.core import QgsMessageLog
|
||||
from utilities import unitTestDataPath
|
||||
|
||||
# Strip path and content lenght because path may vary
|
||||
RE_STRIP_PATH=r'MAP=[^&]+|Content-Length: \d+'
|
||||
RE_STRIP_PATH=r'MAP=[^&]+(&)*|Content-Length: \d+'
|
||||
|
||||
|
||||
class TestQgsServer(unittest.TestCase):
|
||||
@ -75,7 +75,7 @@ class TestQgsServer(unittest.TestCase):
|
||||
except ImportError:
|
||||
print "QGIS Server plugins are not compiled. Skipping test"
|
||||
return
|
||||
|
||||
|
||||
class SimpleHelloFilter(QgsServerFilter):
|
||||
def requestReady(self):
|
||||
QgsMessageLog.logMessage("SimpleHelloFilter.requestReady")
|
||||
|
Loading…
x
Reference in New Issue
Block a user