Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 30, 2017
1 parent d4c8762 commit e8b11a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgscolorbutton.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def testClearingColors(self):

# start with a valid color
button = QgsColorButton()
button.setAllowAlpha(True)
button.setAllowOpacity(True)
button.setColor(QColor(255, 100, 200, 255))
self.assertEqual(button.color(), QColor(255, 100, 200, 255))

Expand Down

0 comments on commit e8b11a3

Please sign in to comment.