Skip to content

fixes with the latest boot files #2114

fixes with the latest boot files

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

1 600 tests  ±0     356 ✅ ±0   11m 44s ⏱️ -8s
    1 suites ±0   1 243 💤 ±0 
    1 files   ±0       1 ❌ ±0 

Results for commit 889539b. ± Comparison against earlier commit f759720.

Annotations

Check warning on line 0 in test.test_ad4000

See this annotation in the file changed.

@github-actions 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