Skip to content
Permalink
Browse files

Fix PyQgsMapUnitScale test under qt5

  • Loading branch information
nyalldawson committed Sep 5, 2016
1 parent fd0d804 commit e54f9bee7a0b82936c4c4621ac387b173553505a
Showing with 1 addition and 1 deletion.
  1. +0 −1 ci/travis/linux/qt5/blacklist.txt
  2. +1 −0 tests/src/python/test_qgsmapunitscale.py
@@ -1,7 +1,6 @@
PyQgsComposerPicture
PyQgsJSONUtils
PyQgsLocalServer
PyQgsMapUnitScale
PyQgsPalLabelingServer
PyQgsServer
PyQgsServerAccessControl
@@ -78,6 +78,7 @@ def testMapUnitsPerPixel(self):
ms = QgsMapSettings()
ms.setExtent(QgsRectangle(0, 0, 100, 100))
ms.setOutputSize(QSize(100, 50))
ms.setOutputDpi(75)
r = QgsRenderContext.fromMapSettings(ms)

# renderer scale should be about 1:291937841

0 comments on commit e54f9be

Please sign in to comment.
You can’t perform that action at this time.