Renamed QStyle test to StandardPixmap.
This commit is contained in:
parent
9c0e61aec4
commit
18302e80b8
1 changed files with 2 additions and 1 deletions
15
tests/qtgui/standardpixmap_test.py
Normal file
15
tests/qtgui/standardpixmap_test.py
Normal file
|
|
@ -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()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue