[layout][server] Update tests and mask images

This commit is contained in:
Alessandro Pasotti 2018-01-10 21:25:24 +01:00
parent c3cac49521
commit a117b6b9ea
10 changed files with 3 additions and 2 deletions

View File

@ -74,6 +74,7 @@ class QgsServerTestBase(unittest.TestCase):
for expected_line in expected_lines:
expected_line = expected_line.strip()
response_line = response_lines[line_no - 1].strip()
response_line = response_line.replace(b'e+6', b'e+06')
# Compare tag
if re.match(RE_ELEMENT, expected_line):
expected_elements = re.findall(RE_ELEMENT, expected_line)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 232 KiB

View File

@ -112,8 +112,8 @@ Content-Type: text/xml; charset=utf-8
<sld:UserDefinedSymbolization SupportSLD="1" RemoteWCS="0" UserLayer="0" InlineFeature="0" RemoteWFS="0" UserStyle="1"/>
<ComposerTemplates>
<ComposerTemplate height="210" width="297" name="mytemplate">
<ComposerMap height="26" width="61" name="map1"/>
<ComposerMap height="103" width="87" name="map0"/>
<ComposerMap height="26" width="61" name="map0"/>
<ComposerMap height="103" width="87" name="map1"/>
</ComposerTemplate>
</ComposerTemplates>
<WFSLayers>