Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix python zebra style test
  • Loading branch information
mhugent committed Jan 11, 2013
1 parent be94fb7 commit 078f0d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/src/python/test_qgscomposermap.py
Expand Up @@ -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',
Expand Down

0 comments on commit 078f0d0

Please sign in to comment.