示例#1
0
    def test_on_update(self):
        self._call_count = 0

        ImageEditEvent.connect(self._call_count_function)
        image = self.create_image()
        image.on_update()

        self.assertEqual(self._call_count, 1)
示例#2
0
 def on_update(self):
     ImageEditEvent.emit(self)
示例#3
0
 def on_update(self):
     ImageEditEvent.emit(self)