sas.qtgui.UnitTesting package

Submodules

sas.qtgui.UnitTesting.TestUtils module

class sas.qtgui.UnitTesting.TestUtils.QtSignalSpy(widget, signal, parent=None)[source]

Bases: PyQt5.QtCore.QObject

Helper class for testing Qt signals.

called()[source]
count()[source]
signal(index=None)[source]
slot(*args, **kwargs)[source]

Record emitted signal.

sas.qtgui.UnitTesting.TestUtils.WarningTestNotImplemented(method_name=None)[source]

Prints warning about a non-implemented test. Test name retrieved from stack trace.

sas.qtgui.UnitTesting.TestUtilsTest module

Module contents