Skip to content
Permalink
Browse files

Fix test

  • Loading branch information
nyalldawson committed May 29, 2017
1 parent 660b34e commit 32af831ca2e133dfcaa1142645e012f7a93d36be
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgscomposereffects.py
@@ -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

0 comments on commit 32af831

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