Commit 5a1de894 authored by Henrik Menne's avatar Henrik Menne
Browse files

test set digital output

parent fa7a89b3
Pipeline #53088 failed with stages
in 3 minutes and 48 seconds
......@@ -248,8 +248,8 @@ def test_get_digital_input(started_dev_comm_with_t4):
def test_set_digital_output(started_dev_comm_with_t7pro):
lj, com = started_dev_comm_with_t7pro
lj.set_digital_output("FIO0", 1)
assert com.get_written() == ("FIO0", 1)
lj.set_digital_output("FIO0", LabJack.DIOStatus.HIGH)
assert com.get_written() == ("FIO0", LabJack.DIOStatus.HIGH)
with pytest.raises(LabJackIdentifierDIOError):
lj.set_digital_output("AIO0", 1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment