示例#1
0
def test_get_devices():
    devices = [
        b'(2345678',
        b'(2345679',
        b'12345678',
        b'12345678'
    ]
    owi = Owi(board.PIN_LED)
    assert owi.get_devices() == devices
示例#2
0
文件: main.py 项目: southwolf/pumbaa
def test_get_devices():
    owi = Owi(board.PIN_LED)
    assert owi.get_devices() == [b'12345678']