analogdevicesinc / pyadi-iio

Python interfaces for ADI hardware with IIO drivers (aka peyote)
https://analogdevicesinc.github.io/pyadi-iio
Other
141 stars 101 forks source link

test: update adrv9002 profile test #488

Closed tagoylo closed 11 months ago

tagoylo commented 11 months ago

Description

This PR includes small change on the profile test of adrv9002. The 'profile' property will fail in hasattr() check since it has no getter. In the test, changed 'profile' to 'write_profile', directly using the write_profile attribute. All profile test passed.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Documentation

If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.

Checklist: