Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 29, 2017
1 parent 660b34e commit 32af831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgscomposereffects.py
Expand Up @@ -66,13 +66,13 @@ def testBlendModes(self):
def testTransparency(self):
"""Test that transparency works for composer items."""

self.mComposerRect2.setTransparency(50)
self.mComposerRect2.setOpacity(0.5)

checker = QgsCompositionChecker('composereffects_transparency', self.mComposition)
checker.setControlPathPrefix("composer_effects")
myTestResult, myMessage = checker.testComposition()

self.mComposerRect2.setTransparency(100)
self.mComposerRect2.setOpacity(0)

assert myTestResult, myMessage

Expand Down

0 comments on commit 32af831

Please sign in to comment.