Skip to content
Permalink
Browse files
Fix python zebra style test
  • Loading branch information
mhugent committed Jan 11, 2013
1 parent be94fb7 commit 078f0d0ad275b0d1245ae649b92a07c1d3ff3595
Showing with 5 additions and 1 deletion.
  1. +5 −1 tests/src/python/test_qgscomposermap.py
@@ -151,10 +151,14 @@ def testuniqueId(self):
myMessage = 'old: %s new: %s' % (oldId, newId)
assert oldId != newId, myMessage

@expectedFailure
def testZebraStyle(self):
self.mComposerMap.setGridFrameStyle(QgsComposerMap.Zebra)
myRectangle = QgsRectangle(785462.375, 3341423.125,
789262.375, 3343323.125)
self.mComposerMap.setNewExtent( myRectangle )
self.mComposerMap.setGridEnabled(True)
self.mComposerMap.setGridIntervalX(2000)
self.mComposerMap.setGridIntervalY(2000)
checker = QgsCompositionChecker()
myPngPath = os.path.join(TEST_DATA_DIR,
'control_images',

0 comments on commit 078f0d0

Please sign in to comment.