I wrote a series of unit tests in PyQt using QTest and unittest. My code passes signals around, so in order to provide enough time after the operation before testing, I throw some qWaits.
APP.ui.serverPortEdit.setText('1234') QTest.mouseClick(APP.ui.userConnectButton, Qt.LeftButton) QTest.qWait(2000)
I would like to run the same tests in PySide, but I can not find an analog for qWait. Am I missing something? PySide qTest docs does not mention this.
source share