assert_is_constant

typhoon.test.signals.assert_is_constant(signal, at_value, during=None, strictness=1, report_plot=None)

Assertion helper for is_constant function. It has the same signature.

Is equivalent to:

>>> result = is_constant(*args, **kwargs)
>>> assert_analysis(result, True)
Raises:

AssertionError – In case result is different from True.