diff options
Diffstat (limited to 'tests/QtGui/standardpixmap_test.py')
-rw-r--r-- | tests/QtGui/standardpixmap_test.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/QtGui/standardpixmap_test.py b/tests/QtGui/standardpixmap_test.py new file mode 100644 index 000000000..65bd3220a --- /dev/null +++ b/tests/QtGui/standardpixmap_test.py @@ -0,0 +1,15 @@ + +import unittest + +from PySide.QtGui import QPixmap, QStyle + +from helper import UsesQApplication + +class StandardPixmapTest(UsesQApplication): + def testDefaultOptions(self): # Bug 253 + pixmap = self.app.style().standardPixmap(QStyle.SP_DirClosedIcon) + self.assert_(isinstance(pixmap, QPixmap)) + +if __name__ == '__main__': + unittest.main() + |