summaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_998.py
blob: d5ea3b29d264e4a03c34d6f1c03bcdb1a7ef0ad4 (plain)
1
2
3
4
5
6
7
8
9
10
import unittest
from PySide.QtGui import QApplication

class TestBug998 (unittest.TestCase):
    def testNoFocusWindow(self):
        widget = QApplication.focusWidget()
        self.assertTrue(widget == None)

if __name__ == '__main__':
    unittest.main()