Пример #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)