sas.qtgui.UnitTesting package
Submodules
sas.qtgui.UnitTesting.TestUtils module
- class sas.qtgui.UnitTesting.TestUtils.QtSignalSpy(widget, signal, parent=None)[source]
Bases:
QObject
Helper class for testing Qt signals.
- __doc__ = '\n Helper class for testing Qt signals.\n '
- __init__(widget, signal, parent=None)[source]
- __module__ = 'sas.qtgui.UnitTesting.TestUtils'
- 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.