mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-09 00:17:27 -05:00
Lint
This commit is contained in:
parent
a7fccc27f1
commit
bec640b158
@ -3411,7 +3411,7 @@ class PyQgsTextRenderer(QgisTestCase):
|
|||||||
format.setTabStopDistanceUnit(Qgis.RenderUnit.Percentage)
|
format.setTabStopDistanceUnit(Qgis.RenderUnit.Percentage)
|
||||||
self.assertTrue(self.checkRender(format,
|
self.assertTrue(self.checkRender(format,
|
||||||
'text_tab_percentage',
|
'text_tab_percentage',
|
||||||
text=['with\ttabs',' a\tb']))
|
text=['with\ttabs', ' a\tb']))
|
||||||
|
|
||||||
def testDrawTabFixedSize(self):
|
def testDrawTabFixedSize(self):
|
||||||
format = QgsTextFormat()
|
format = QgsTextFormat()
|
||||||
@ -3422,7 +3422,7 @@ class PyQgsTextRenderer(QgisTestCase):
|
|||||||
format.setTabStopDistanceUnit(Qgis.RenderUnit.Millimeters)
|
format.setTabStopDistanceUnit(Qgis.RenderUnit.Millimeters)
|
||||||
self.assertTrue(self.checkRender(format,
|
self.assertTrue(self.checkRender(format,
|
||||||
'text_tab_fixed_size',
|
'text_tab_fixed_size',
|
||||||
text=['with\ttabs',' a\tb']))
|
text=['with\ttabs', ' a\tb']))
|
||||||
|
|
||||||
def testHtmlFormatting(self):
|
def testHtmlFormatting(self):
|
||||||
format = QgsTextFormat()
|
format = QgsTextFormat()
|
||||||
@ -3445,7 +3445,7 @@ class PyQgsTextRenderer(QgisTestCase):
|
|||||||
format.setAllowHtmlFormatting(True)
|
format.setAllowHtmlFormatting(True)
|
||||||
self.assertTrue(self.checkRender(format,
|
self.assertTrue(self.checkRender(format,
|
||||||
'text_tab_percentage_html',
|
'text_tab_percentage_html',
|
||||||
text=['<span style="font-size: 15pt">with</span>\ttabs',' a\tb']))
|
text=['<span style="font-size: 15pt">with</span>\ttabs', ' a\tb']))
|
||||||
|
|
||||||
def testHtmlTabFixedSize(self):
|
def testHtmlTabFixedSize(self):
|
||||||
format = QgsTextFormat()
|
format = QgsTextFormat()
|
||||||
@ -3457,7 +3457,7 @@ class PyQgsTextRenderer(QgisTestCase):
|
|||||||
format.setAllowHtmlFormatting(True)
|
format.setAllowHtmlFormatting(True)
|
||||||
self.assertTrue(self.checkRender(format,
|
self.assertTrue(self.checkRender(format,
|
||||||
'text_tab_fixed_size_html',
|
'text_tab_fixed_size_html',
|
||||||
text=['<span style="font-size: 15pt">with</span>\ttabs',' a\tb']))
|
text=['<span style="font-size: 15pt">with</span>\ttabs', ' a\tb']))
|
||||||
|
|
||||||
def testHtmlFormattingBuffer(self):
|
def testHtmlFormattingBuffer(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user