Skip to content

Commit

Permalink
Add test for AD7124-8
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Nov 22, 2023
1 parent adec4bb commit 20bf3cf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/test_ad7124_8.py
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 20bf3cf

Please sign in to comment.