Too simple to be true. But it is.
def test_my_signal(self): spy = QSignalSpy(self.view.my_signal) self.assertTrue(spy.isValid())