<html><head><style type='text/css'>p { margin: 0; }</style><style type='text/css'>body { font-family: 'Arial'; font-size: 10pt; color: #000000}</style></head><body>Hi<br><br>Can I use ModelTest to test custom implementations of QAbstractTableModel ?<br>If I use ModelTest as is, it breaks when it tries to access some of the QAbstractTableModel private <br>methods:<br><br>&nbsp; File "Y:\tests\modeltest.py", line 81, in nonDestructiveBasicTest<br>&nbsp;&nbsp;&nbsp; self.model.hasChildren(QtCore.QModelIndex())<br>AttributeError: QAbstractTableModel.hasChildren is a private method<br><br>How do I need to change ModelTest to ensure that it still tests the model/view design <br>contract?<br><br>Kind regards<br>Dirk<br>-- <br>Dirk&nbsp;Wagener&nbsp;&lt;dwagen@stonethree.com&gt;<br>(MSc.&nbsp;Electronic&nbsp;Engineering,&nbsp;Stell.)<br><br>Project&nbsp;Engineer<br>Stone&nbsp;Three&nbsp;Signal&nbsp;Processing&nbsp;(Pty.)&nbsp;Ltd.<br>http://www.stonethree.com<br>+27&nbsp;21&nbsp;851&nbsp;3123&nbsp;(phone)<br>+27&nbsp;21&nbsp;851&nbsp;3127&nbsp;(fax)&nbsp;<br><br>The&nbsp;real&nbsp;trick&nbsp;in&nbsp;life&nbsp;is&nbsp;to&nbsp;want&nbsp;nothing,&nbsp;and&nbsp;to&nbsp;succeed&nbsp;in&nbsp;getting&nbsp;it.&nbsp;Shantaram<br></body></html>