1
# -*- coding: utf-8 -*-
4
from testbinding import TestObject
5
from PySide.QtCore import QObject
7
class ListConnectionTest(unittest.TestCase):
9
def childrenChanged(self, children):
10
self._child = children[0]
12
def testConnection(self):
15
c.setObjectName("child")
17
o.childrenChanged.connect(self.childrenChanged)
19
self.assertEquals(self._child.objectName(), "child")
21
if __name__ == '__main__':