summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-12-09 16:13:39 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-12-13 11:39:24 -0200
commit154560c9c50f4cd46e2d5cc007fe3983e03cc6e5 (patch)
treec141cc67b7ce433230579099a0f032ec810a1f8f /tests
parente62b0364f12aaf68a49bdcd513eae123e77c0093 (diff)
downloadpyside-154560c9c50f4cd46e2d5cc007fe3983e03cc6e5.tar.gz
pyside-154560c9c50f4cd46e2d5cc007fe3983e03cc6e5.tar.xz
pyside-154560c9c50f4cd46e2d5cc007fe3983e03cc6e5.zip
Added unit test for bug#500
Reviewer: Lauro Mora <lauro.neto@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/QtGui/CMakeLists.txt1
-rw-r--r--tests/QtGui/bug_500.py15
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/QtGui/CMakeLists.txt b/tests/QtGui/CMakeLists.txt
index 49e9f5a..df81b3d 100644
--- a/tests/QtGui/CMakeLists.txt
+++ b/tests/QtGui/CMakeLists.txt
@@ -18,6 +18,7 @@ PYSIDE_TEST(bug_430.py)
PYSIDE_TEST(bug_433.py)
PYSIDE_TEST(bug_467.py)
PYSIDE_TEST(bug_480.py)
+PYSIDE_TEST(bug_500.py)
PYSIDE_TEST(customproxywidget_test.py)
PYSIDE_TEST(deepcopy_test.py)
PYSIDE_TEST(float_to_int_implicit_conversion_test.py)
diff --git a/tests/QtGui/bug_500.py b/tests/QtGui/bug_500.py
new file mode 100644
index 0000000..8611495
--- /dev/null
+++ b/tests/QtGui/bug_500.py
@@ -0,0 +1,15 @@
+#!/usr/bin/python
+
+import unittest
+
+from PySide.QtCore import *
+from PySide.QtGui import *
+from helper import UsesQApplication
+
+class NeverDiesTest(UsesQApplication):
+
+ def testIt(self):
+ QPrintDialog()
+
+if __name__ == "__main__":
+ unittest.main()