Skip to content
Permalink
Browse files

Test debug code

  • Loading branch information
elpaso authored and nyalldawson committed Sep 23, 2020
1 parent 83525ab commit 2dc86db74c4624ebe6ca4de809cf2e380a7f8810
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/src/python/test_qgsmapcanvas.py
@@ -490,6 +490,9 @@ def testLockedScale(self):
"""Test zoom/pan/center operations when scale lock is on"""

c = QgsMapCanvas()
self.assertEqual(c.size().width(), 640)
self.assertEqual(c.size().height(), 480)

c.setExtent(QgsRectangle(5, 45, 9, 47))
c.zoomScale(2500000)
c.setScaleLocked(True)

0 comments on commit 2dc86db

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