Fix failing server label test

This commit is contained in:
Nyall Dawson 2016-05-29 16:11:46 +10:00
parent 5b6f9d846e
commit 1b06324d24

View File

@ -115,7 +115,7 @@ class TestServerBase(TestQgsPalLabeling):
# TODO: support other types of servers, besides WMS
ms = self._TestMapSettings
osize = ms.outputSize()
dpi = str(ms.outputDpi())
dpi = str(int(ms.outputDpi()))
lyrs = [str(self._MapRegistry.mapLayer(i).name()) for i in ms.layers()]
lyrs.reverse()
params = {