Skip to content

Commit

Permalink
fix PyQgsSymbolLayer test
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Aug 10, 2016
1 parent 2374f79 commit d4bd176
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/src/python/test_qgssymbollayer.py
Expand Up @@ -269,7 +269,7 @@ def testBinding(self):
mMessage = 'Expected "%s" got "%s"' % (mExpectedType, mType)
assert mExpectedType == mType, mMessage

def testQgsSimpleFillSymbolLayerV2(self):
def testQgsSimpleFillSymbolLayer(self):
"""Create a new style from a .sld file and match test.
"""
mTestName = 'QgsSimpleFillSymbolLayer'
Expand Down Expand Up @@ -308,7 +308,7 @@ def testQgsSimpleFillSymbolLayerV2(self):
mMessage = 'Expected "%s" got "%s"' % (mExpectedValue, mValue)
assert mExpectedValue == mValue, mMessage

def testQgsGradientFillSymbolLayerV2(self):
def testQgsGradientFillSymbolLayer(self):
"""Test setting and getting QgsGradientFillSymbolLayer properties.
"""
mGradientLayer = QgsGradientFillSymbolLayer()
Expand Down Expand Up @@ -390,7 +390,7 @@ def testQgsGradientFillSymbolLayerV2(self):
mMessage = 'Expected "%s" got "%s"' % (mExpectedValue, mValue)
assert mExpectedValue == mValue, mMessage

def testQgsCentroidFillSymbolLayerV2(self):
def testQgsCentroidFillSymbolLayer(self):
"""
Create a new style from a .sld file and match test
"""
Expand Down Expand Up @@ -573,7 +573,7 @@ def testQgsSVGFillSymbolLayer(self):
mMessage = 'Expected "%s" got "%s"' % (mExpectedValue, mValue)
assert mExpectedValue == mValue, mMessage

def testQgsMarkerLineSymbolLayerV2(self):
def testQgsMarkerLineSymbolLayer(self):
"""
Create a new style from a .sld file and match test
"""
Expand Down Expand Up @@ -621,7 +621,7 @@ def testQgsMarkerLineSymbolLayerV2(self):
self.assertEqual(mSymbolLayer.subSymbol().color(), QColor(250, 150, 200))
self.assertEqual(mSymbolLayer.color(), QColor(250, 150, 200))

def testQgsSimpleLineSymbolLayerV2(self):
def testQgsSimpleLineSymbolLayer(self):
"""
Create a new style from a .sld file and match test
"""
Expand Down Expand Up @@ -671,7 +671,7 @@ def testQgsSimpleLineSymbolLayerV2(self):
mMessage = 'Expected "%s" got "%s"' % (mExpectedValue, mValue)
assert mExpectedValue == mValue, mMessage

def testQgsEllipseSymbolLayerV2(self):
def testQgsEllipseSymbolLayer(self):
"""
Create a new style from a .sld file and match test
"""
Expand Down Expand Up @@ -716,7 +716,7 @@ def testQgsEllipseSymbolLayerV2(self):
mMessage = 'Expected "%s" got "%s"' % (mExpectedValue, mValue)
assert mExpectedValue == mValue, mMessage

def testQgsFontMarkerSymbolLayerV2(self):
def testQgsFontMarkerSymbolLayer(self):
"""
Create a new style from a .sld file and match test
"""
Expand Down Expand Up @@ -756,7 +756,7 @@ def testQgsFontMarkerSymbolLayerV2(self):
mMessage = 'Expected "%s" got "%s"' % (mExpectedValue, mValue)
assert mExpectedValue == mValue, mMessage

def testQgsSvgMarkerSymbolLayerV2(self):
def testQgsSvgMarkerSymbolLayer(self):
"""
Create a new style from a .sld file and match test
"""
Expand Down

0 comments on commit d4bd176

Please sign in to comment.