Fix qwidget_test.
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
This commit is contained in:
parent
b812f04d24
commit
27530522a8
2 changed files with 2 additions and 5 deletions
|
|
@ -11,10 +11,7 @@ class QWidgetInherit(QMainWindow):
|
|||
class QWidgetTest(UsesQApplication):
|
||||
|
||||
def testInheritance(self):
|
||||
newobj = QWidgetInherit()
|
||||
widget = QWidget()
|
||||
newobj.setCentralWidget(widget)
|
||||
self.assertEqual(widget, newobj.centralWidget())
|
||||
self.assertRaises(TypeError, QWidgetInherit)
|
||||
|
||||
class QWidgetVisible(UsesQApplication):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue