diff --git a/tests/test_gui.py b/tests/test_gui.py index 306a811..17c97ad 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -25,6 +25,10 @@ def test_ORStoolsDialog(self): CRS = QgsCoordinateReferenceSystem.fromEpsgId(3857) CANVAS.setExtent(QgsRectangle(258889, 7430342, 509995, 7661955)) CANVAS.setDestinationCrs(CRS) + CANVAS.setFrameStyle(0) + CANVAS.resize(600, 400) + self.assertEqual(CANVAS.width(), 600) + self.assertEqual(CANVAS.height(), 400) dlg = ORStoolsDialog(IFACE) dlg.open()