Esempio n. 1
0
def test_read():
    owi = Owi(board.PIN_LED)
    assert owi.read(2) == b'12'
Esempio n. 2
0
def test_read():
    owi_stub.set_read(b'12')

    owi = Owi(board.PIN_LED)
    assert owi.read(2) == b'12'