Skip to content

Commit 02dfb4f

Browse files
committed
Ignore data type differences
1 parent 9eac69e commit 02dfb4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/src/python/test_qgsserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import osgeo.gdal
2626

2727
# Strip path and content length because path may vary
28-
RE_STRIP_PATH = r'MAP=[^&]+|Content-Length: \d+'
28+
RE_STRIP_PATH = r'MAP=[^&]+|Content-Length: \d+|<Attribute typeName="[^>]+'
2929

3030

3131
class TestQgsServer(unittest.TestCase):

tests/testdata/qgis_server/getprojectsettings.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Content-Type: text/xml; charset=utf-8
153153
</Style>
154154
<TreeName>testlayer èé</TreeName>
155155
<Attributes>
156-
<Attribute typeName="Integer" precision="0" length="10" editType="TextEdit" type="int" comment="" name="id"/>
156+
<Attribute typeName="Integer64" precision="0" length="10" editType="TextEdit" type="qlonglong" comment="" name="id"/>
157157
<Attribute typeName="String" precision="0" length="10" editType="TextEdit" type="QString" comment="" name="name"/>
158158
<Attribute typeName="String" precision="0" length="13" editType="TextEdit" type="QString" comment="" name="utf8nameè"/>
159159
</Attributes>

0 commit comments

Comments
 (0)