Skip to content
Permalink
Browse files

Fix for failure in unit test thanks to Massimo.

  • Loading branch information
timlinux committed Oct 29, 2012
1 parent ae6ec44 commit 97cb7bd888c48f60942e9848bd8852698a231a2b
Showing with 24 additions and 17 deletions.
  1. +24 −17 tests/src/python/test_qgssymbollayerv2.py
@@ -34,27 +34,39 @@
Qt)
from PyQt4.QtXml import QDomDocument

from qgis.core import (QgsSymbolLayerV2,
QgsSimpleFillSymbolLayerV2,
QgsVectorFieldSymbolLayer,
QgsMarkerSymbolLayerV2,
from qgis.core import (QgsCentroidFillSymbolLayerV2,
QgsEllipseSymbolLayerV2,
QgsFontMarkerSymbolLayerV2,
QgsCentroidFillSymbolLayerV2,
QgsPointPatternFillSymbolLayer,
QgsSVGFillSymbolLayer,
QgsLineDecorationSymbolLayerV2,
QgsLinePatternFillSymbolLayer,
QgsMarkerLineSymbolLayerV2,
QgsEllipseSymbolLayerV2,
QgsMarkerSymbolLayerV2,
QgsPointPatternFillSymbolLayer,
QgsSimpleFillSymbolLayerV2,
QgsSimpleLineSymbolLayerV2,
QgsSimpleMarkerSymbolLayerV2,
QgsSVGFillSymbolLayer,
QgsSvgMarkerSymbolLayerV2,
QgsSymbolLayerV2,
QgsVectorFieldSymbolLayer,
QgsCentroidFillSymbolLayerV2,
QgsEllipseSymbolLayerV2,
QgsFillSymbolLayerV2,
QgsFontMarkerSymbolLayerV2,
QgsImageFillSymbolLayer,
QgsLineDecorationSymbolLayerV2,
QgsLinePatternFillSymbolLayer,
QgsCentroidFillSymbolLayerV2,
QgsLineSymbolLayerV2,
QgsMarkerLineSymbolLayerV2,
QgsSimpleMarkerSymbolLayerV2,
QgsMarkerSymbolLayerV2,
QgsPointPatternFillSymbolLayer,
QgsSimpleFillSymbolLayerV2,
QgsSimpleLineSymbolLayerV2,
QgsLineDecorationSymbolLayerV2
)
QgsSimpleMarkerSymbolLayerV2,
QgsSVGFillSymbolLayer,
QgsSvgMarkerSymbolLayerV2,
QgsVectorFieldSymbolLayer,
)
from utilities import (unitTestDataPath,
getQgisTestApp,
TestCase,
@@ -78,11 +90,6 @@ class TestQgsSymbolLayerV2(TestCase):
returns NULL
'''

# Currently fails with:
# 49: File "/home/timlinux/dev/cpp/Quantum-GIS/tests/src/python/test_qgssymbollayerv2.py", line 94, in testBinding
# 49: assert mExpectedType == mType, mMessage
# 49: AssertionError: Expected "<type 'PyQt4.QtCore.pyqtWrapperType'>" got "None"
@expectedFailure
def testBinding(self):
'''Test python bindings existance.'''
mType = type(QgsSymbolLayerV2)

0 comments on commit 97cb7bd

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