Renamed QStyle test to StandardPixmap.
This commit is contained in:
parent
9c0e61aec4
commit
18302e80b8
1 changed files with 2 additions and 1 deletions
|
|
@ -5,10 +5,11 @@ from PySide.QtGui import QPixmap, QStyle
|
||||||
|
|
||||||
from helper import UsesQApplication
|
from helper import UsesQApplication
|
||||||
|
|
||||||
class StandardPixmap(UsesQApplication):
|
class StandardPixmapTest(UsesQApplication):
|
||||||
def testDefaultOptions(self): # Bug 253
|
def testDefaultOptions(self): # Bug 253
|
||||||
pixmap = self.app.style().standardPixmap(QStyle.SP_DirClosedIcon)
|
pixmap = self.app.style().standardPixmap(QStyle.SP_DirClosedIcon)
|
||||||
self.assert_(isinstance(pixmap, QPixmap))
|
self.assert_(isinstance(pixmap, QPixmap))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue