bug_300_test moved to QtGui, because it tests a class from QtGui.
This commit is contained in:
parent
cb48464859
commit
f1bc92a2dd
3 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,4 @@
|
|||
PYSIDE_TEST(bug_278_test.py)
|
||||
PYSIDE_TEST(bug_300_test.py)
|
||||
PYSIDE_TEST(blocking_signals_test.py)
|
||||
PYSIDE_TEST(child_event_test.py)
|
||||
PYSIDE_TEST(deletelater_test.py)
|
||||
|
|
|
|||
|
|
@ -1,17 +0,0 @@
|
|||
from PySide.QtGui import QStringListModel
|
||||
from PySide.QtCore import QModelIndex
|
||||
import unittest
|
||||
|
||||
class TestQAbstractItemModelSignals(unittest.TestCase):
|
||||
def sigCallback(self, index, r, c):
|
||||
self._called = True
|
||||
|
||||
def testSignals(self):
|
||||
self._called = False
|
||||
m = QStringListModel()
|
||||
m.rowsAboutToBeInserted[QModelIndex,int,int].connect(self.sigCallback)
|
||||
m.insertRows(0, 3)
|
||||
self.assert_(self._called)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue