diff options
author | Paulo Alcantara <pcacjr@gmail.com> | 2011-12-21 14:57:32 -0300 |
---|---|---|
committer | Paulo Alcantara <pcacjr@gmail.com> | 2011-12-21 15:39:21 -0300 |
commit | 689c31a3634e7266343ff475e82236bd7d6611a9 (patch) | |
tree | f5ee02e04f6d9ef51af57a402ccf15110306571f /tests/QtGui/bug_1091.py | |
parent | 86c6261dac472b623d5799a11dee6c8956daf600 (diff) | |
download | pyside-689c31a3634e7266343ff475e82236bd7d6611a9.tar.gz pyside-689c31a3634e7266343ff475e82236bd7d6611a9.tar.xz pyside-689c31a3634e7266343ff475e82236bd7d6611a9.zip |
Fix BUG #1091 - "PixmapFragment and drawPixmapFragments are not bound"
See http://bugs.pyside.org/show_bug.cgi?id=1091.
Also minor coding style fixes in QtGui's typesystem.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/QtGui/bug_1091.py')
-rw-r--r-- | tests/QtGui/bug_1091.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/QtGui/bug_1091.py b/tests/QtGui/bug_1091.py new file mode 100644 index 0000000..b58d26f --- /dev/null +++ b/tests/QtGui/bug_1091.py @@ -0,0 +1,12 @@ +''' unit test for BUG #1091 ''' + +import unittest +from PySide import QtGui + +class QPainterTestCase(unittest.TestCase): + def testIt(self): + self.assertTrue("PixmapFragment" in dir(QtGui.QPainter)) + self.assertTrue("drawPixmapFragments" in dir(QtGui.QPainter)) + +if __name__ == "__main__": + unittest.main() |