<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> File "Y:\tests\modeltest.py", line 81, in nonDestructiveBasicTest<br> 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 Wagener <dwagen@stonethree.com><br>(MSc. Electronic Engineering, Stell.)<br><br>Project Engineer<br>Stone Three Signal Processing (Pty.) Ltd.<br>http://www.stonethree.com<br>+27 21 851 3123 (phone)<br>+27 21 851 3127 (fax) <br><br>The real trick in life is to want nothing, and to succeed in getting it. Shantaram<br></body></html>