fixes with the latest boot files #2114
GitHub Actions / Test Results
failed
Jan 16, 2025 in 0s
1 fail, 1 243 skipped, 356 pass in 11m 44s
Annotations
Check warning on line 0 in test.test_ad4000
github-actions / Test Results
test_ad4000_attr[sampling_frequency-val0-adi.ad4000] (test.test_ad4000) failed
results.xml [took 3s]
Raw output
AttributeError: module 'adi' has no attribute 'ad4000'. Did you mean: 'ad4001'?
test_attribute_multiple_values = <function attribute_multiple_values at 0x7fc435874c10>
iio_uri = 'ip:10.1.0.49', classname = 'adi.ad4000', attr = 'sampling_frequency'
val = [10000, 50000, 100000, 200000, 500000, 1000000, ...]
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[10000, 50000, 100000, 200000, 500000, 1000000, 2000000],
),
],
)
def test_ad4000_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 1)
test/test_ad4000.py:20:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:221: in attribute_multiple_values
assert dev_interface(uri, classname, val, attr, tol, sleep=sleep)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E AttributeError: module 'adi' has no attribute 'ad4000'. Did you mean: 'ad4001'?
<string>:1: AttributeError
Loading