diff --git a/test/test_ad7124_8.py b/test/test_ad7124_8.py new file mode 100644 index 000000000..247d9887d --- /dev/null +++ b/test/test_ad7124_8.py @@ -0,0 +1,15 @@ +import pytest +import adi + +hardware = "ad7124-8" +classname = "adi.ad7124" + + +######################################### +@pytest.mark.iio_hardware(hardware) +def test_ad7124_8_channels(iio_uri): + dev = adi.ad7124(uri=iio_uri) + + for chan_i in range(16): + dev.rx_channel_names[chan_i] == "voltage" + str(chan_i) +