Skip to content

Commit

Permalink
[layout][server] Update tests and mask images
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jan 10, 2018
1 parent c3cac49 commit a117b6b
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/src/python/test_qgsserver.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def assertXMLEqual(self, response, expected, msg=''):
for expected_line in expected_lines: for expected_line in expected_lines:
expected_line = expected_line.strip() expected_line = expected_line.strip()
response_line = response_lines[line_no - 1].strip() response_line = response_lines[line_no - 1].strip()
response_line = response_line.replace(b'e+6', b'e+06')
# Compare tag # Compare tag
if re.match(RE_ELEMENT, expected_line): if re.match(RE_ELEMENT, expected_line):
expected_elements = re.findall(RE_ELEMENT, expected_line) expected_elements = re.findall(RE_ELEMENT, expected_line)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/testdata/qgis_server/getprojectsettings.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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"/> <sld:UserDefinedSymbolization SupportSLD="1" RemoteWCS="0" UserLayer="0" InlineFeature="0" RemoteWFS="0" UserStyle="1"/>
<ComposerTemplates> <ComposerTemplates>
<ComposerTemplate height="210" width="297" name="mytemplate"> <ComposerTemplate height="210" width="297" name="mytemplate">
<ComposerMap height="26" width="61" name="map1"/> <ComposerMap height="26" width="61" name="map0"/>
<ComposerMap height="103" width="87" name="map0"/> <ComposerMap height="103" width="87" name="map1"/>
</ComposerTemplate> </ComposerTemplate>
</ComposerTemplates> </ComposerTemplates>
<WFSLayers> <WFSLayers>
Expand Down

0 comments on commit a117b6b

Please sign in to comment.