Пример #1
0
def test_set_method():
    sig = Signal(name='sig')

    st = sig.set(28)
    wait(st)
    assert st.done
    assert st.success
    assert sig.get() == 28
Пример #2
0
def test_set_method():
    sig = Signal(name='sig')

    st = sig.set(28)
    wait(st)
    assert st.done
    assert st.success
    assert sig.get() == 28
Пример #3
0
 def set(self, value, *, timestamp=None, force=False):
     return Signal.set(self, value, timestamp=timestamp, force=force)