1399 tests run, 39 passed, 1143 skipped, 217 failed.
Annotations
Check failure on line 33 in test/test_ad2s1210.py
github-actions / JUnit Test Report
test_ad2s1210.test_ad2s1210_attr[excitation_frequency-2000-20000-250-1-10-adi.ad2s1210]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_single_value = <function attribute_single_value at 0x7f0be4410160>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad2s1210'
attr = 'excitation_frequency', start = 2000, stop = 20000, step = 250, tol = 1
repeats = 10
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [classname])
@pytest.mark.parametrize(
"attr, start, stop, step, tol, repeats",
[("excitation_frequency", 2000, 20000, 250, 1, 10),],
)
def test_ad2s1210_attr(
test_attribute_single_value,
iio_uri,
classname,
attr,
start,
stop,
step,
tol,
repeats,
):
> test_attribute_single_value(
iio_uri, classname, attr, start, stop, step, tol, repeats
)
test/test_ad2s1210.py:33:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:69: in attribute_single_value
assert dev_interface(uri, classname, val, attr, tol)
test/common.py:103: in dev_interface
sdr = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad2s1210.py:35: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad2s1210.ad2s1210 object at 0x7f0be070e0a0>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 47 in test/test_ad2s1210.py
github-actions / JUnit Test Report
test_ad2s1210.test_ad2s1210_attr_boolean[hysteresis_enable-True-adi.ad2s1210]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_single_value_boolean = <function attribute_single_value_boolean at 0x7f0be44101f0>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad2s1210', attr = 'hysteresis_enable'
value = True
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [classname])
@pytest.mark.parametrize(
"attr, value", [("hysteresis_enable", True), ("hysteresis_enable", False),],
)
def test_ad2s1210_attr_boolean(
test_attribute_single_value_boolean, iio_uri, classname, attr, value
):
> test_attribute_single_value_boolean(iio_uri, classname, attr, value)
test/test_ad2s1210.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:85: in attribute_single_value_boolean
bi = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad2s1210.py:35: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad2s1210.ad2s1210 object at 0x7f0be067d460>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 47 in test/test_ad2s1210.py
github-actions / JUnit Test Report
test_ad2s1210.test_ad2s1210_attr_boolean[hysteresis_enable-False-adi.ad2s1210]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_single_value_boolean = <function attribute_single_value_boolean at 0x7f0be44101f0>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad2s1210', attr = 'hysteresis_enable'
value = False
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [classname])
@pytest.mark.parametrize(
"attr, value", [("hysteresis_enable", True), ("hysteresis_enable", False),],
)
def test_ad2s1210_attr_boolean(
test_attribute_single_value_boolean, iio_uri, classname, attr, value
):
> test_attribute_single_value_boolean(iio_uri, classname, attr, value)
test/test_ad2s1210.py:47:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:85: in attribute_single_value_boolean
bi = eval(classname + "(uri='" + uri + "')")
<string>:1: in <module>
???
adi/ad2s1210.py:35: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad2s1210.ad2s1210 object at 0x7f0be06731f0>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 82 in test/test_ad4630.py
github-actions / JUnit Test Report
test_ad4630.test_adaq42xx_scale_attr[scale-scale_available-0-1-chan0-adi.adaq42xx]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.adaq42xx', attr = 'scale'
avail_attr = 'scale_available', tol = 0, repeats = 1, sub_channel = 'chan0'
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, avail_attr, tol, repeats, sub_channel",
[("scale", "scale_available", 0, 1, "chan0",),],
)
def test_adaq42xx_scale_attr(
test_attribute_multiple_values,
iio_uri,
classname,
attr,
avail_attr,
tol,
repeats,
sub_channel,
):
# Get the device
> sdr = eval(classname + "(uri='" + iio_uri + "')")
test/test_ad4630.py:82:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
<string>:1: in <module>
???
adi/ad4630.py:178: in __init__
super().__init__(uri, device_name)
adi/ad4630.py:63: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad4630.adaq42xx object at 0x7f0be065f310>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 21 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_global_attr[int_ref_powerup-val0-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', attr = 'int_ref_powerup'
val = ['powerdown', 'powerup']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
("int_ref_powerup", ["powerdown", "powerup"],),
("clear_setting", ["0v", "midscale_code"],),
("sdo_disable", ["enable", "disable"],),
],
)
def test_ad5754r_global_attr(
test_attribute_multiple_values, iio_uri, classname, attr, val
):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad5754r.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0be0661f10>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 21 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_global_attr[clear_setting-val1-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', attr = 'clear_setting'
val = ['0v', 'midscale_code']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
("int_ref_powerup", ["powerdown", "powerup"],),
("clear_setting", ["0v", "midscale_code"],),
("sdo_disable", ["enable", "disable"],),
],
)
def test_ad5754r_global_attr(
test_attribute_multiple_values, iio_uri, classname, attr, val
):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad5754r.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0bfb3c39a0>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 21 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_global_attr[sdo_disable-val2-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', attr = 'sdo_disable'
val = ['enable', 'disable']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
("int_ref_powerup", ["powerdown", "powerup"],),
("clear_setting", ["0v", "midscale_code"],),
("sdo_disable", ["enable", "disable"],),
],
)
def test_ad5754r_global_attr(
test_attribute_multiple_values, iio_uri, classname, attr, val
):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad5754r.py:21:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0bfb3726d0>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 46 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_channel_attr[powerup-val0-0-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', channel = 0
attr = 'powerup', val = ['powerdown', 'powerup']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"attr, val",
[
("powerup", ["powerdown", "powerup"],),
(
"range",
[
"0v_to_5v",
"0v_to_10v",
"0v_to_10v8",
"neg5v_to_5v",
"neg10v_to_10v",
"neg10v8_to_10v8",
],
),
],
)
def test_ad5754r_channel_attr(iio_uri, classname, channel, attr, val):
> dev = adi.ad5754r(iio_uri)
test/test_ad5754r.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0be0724220>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 46 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_channel_attr[powerup-val0-1-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', channel = 1
attr = 'powerup', val = ['powerdown', 'powerup']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"attr, val",
[
("powerup", ["powerdown", "powerup"],),
(
"range",
[
"0v_to_5v",
"0v_to_10v",
"0v_to_10v8",
"neg5v_to_5v",
"neg10v_to_10v",
"neg10v8_to_10v8",
],
),
],
)
def test_ad5754r_channel_attr(iio_uri, classname, channel, attr, val):
> dev = adi.ad5754r(iio_uri)
test/test_ad5754r.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0bfb385b80>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 46 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_channel_attr[powerup-val0-2-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', channel = 2
attr = 'powerup', val = ['powerdown', 'powerup']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"attr, val",
[
("powerup", ["powerdown", "powerup"],),
(
"range",
[
"0v_to_5v",
"0v_to_10v",
"0v_to_10v8",
"neg5v_to_5v",
"neg10v_to_10v",
"neg10v8_to_10v8",
],
),
],
)
def test_ad5754r_channel_attr(iio_uri, classname, channel, attr, val):
> dev = adi.ad5754r(iio_uri)
test/test_ad5754r.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0bfb2a1c70>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 46 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_channel_attr[powerup-val0-3-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', channel = 3
attr = 'powerup', val = ['powerdown', 'powerup']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"attr, val",
[
("powerup", ["powerdown", "powerup"],),
(
"range",
[
"0v_to_5v",
"0v_to_10v",
"0v_to_10v8",
"neg5v_to_5v",
"neg10v_to_10v",
"neg10v8_to_10v8",
],
),
],
)
def test_ad5754r_channel_attr(iio_uri, classname, channel, attr, val):
> dev = adi.ad5754r(iio_uri)
test/test_ad5754r.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0be06821f0>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 46 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_channel_attr[range-val1-0-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', channel = 0, attr = 'range'
val = ['0v_to_5v', '0v_to_10v', '0v_to_10v8', 'neg5v_to_5v', 'neg10v_to_10v', 'neg10v8_to_10v8']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"attr, val",
[
("powerup", ["powerdown", "powerup"],),
(
"range",
[
"0v_to_5v",
"0v_to_10v",
"0v_to_10v8",
"neg5v_to_5v",
"neg10v_to_10v",
"neg10v8_to_10v8",
],
),
],
)
def test_ad5754r_channel_attr(iio_uri, classname, channel, attr, val):
> dev = adi.ad5754r(iio_uri)
test/test_ad5754r.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0bfb2f5f70>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 46 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_channel_attr[range-val1-1-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', channel = 1, attr = 'range'
val = ['0v_to_5v', '0v_to_10v', '0v_to_10v8', 'neg5v_to_5v', 'neg10v_to_10v', 'neg10v8_to_10v8']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"attr, val",
[
("powerup", ["powerdown", "powerup"],),
(
"range",
[
"0v_to_5v",
"0v_to_10v",
"0v_to_10v8",
"neg5v_to_5v",
"neg10v_to_10v",
"neg10v8_to_10v8",
],
),
],
)
def test_ad5754r_channel_attr(iio_uri, classname, channel, attr, val):
> dev = adi.ad5754r(iio_uri)
test/test_ad5754r.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0be06a34f0>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 46 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_channel_attr[range-val1-2-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', channel = 2, attr = 'range'
val = ['0v_to_5v', '0v_to_10v', '0v_to_10v8', 'neg5v_to_5v', 'neg10v_to_10v', 'neg10v8_to_10v8']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"attr, val",
[
("powerup", ["powerdown", "powerup"],),
(
"range",
[
"0v_to_5v",
"0v_to_10v",
"0v_to_10v8",
"neg5v_to_5v",
"neg10v_to_10v",
"neg10v8_to_10v8",
],
),
],
)
def test_ad5754r_channel_attr(iio_uri, classname, channel, attr, val):
> dev = adi.ad5754r(iio_uri)
test/test_ad5754r.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0be06759a0>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 46 in test/test_ad5754r.py
github-actions / JUnit Test Report
test_ad5754r.test_ad5754r_channel_attr[range-val1-3-adi.ad5754r]
TypeError: 'NoneType' object is not callable
Raw output
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad5754r', channel = 3, attr = 'range'
val = ['0v_to_5v', '0v_to_10v', '0v_to_10v8', 'neg5v_to_5v', 'neg10v_to_10v', 'neg10v8_to_10v8']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize("channel", [0, 1, 2, 3])
@pytest.mark.parametrize(
"attr, val",
[
("powerup", ["powerdown", "powerup"],),
(
"range",
[
"0v_to_5v",
"0v_to_10v",
"0v_to_10v8",
"neg5v_to_5v",
"neg10v_to_10v",
"neg10v8_to_10v8",
],
),
],
)
def test_ad5754r_channel_attr(iio_uri, classname, channel, attr, val):
> dev = adi.ad5754r(iio_uri)
test/test_ad5754r.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
adi/ad5754r.py:56: in __init__
tx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad5754r.ad5754r object at 0x7f0bfb2bda00>, tx_cyclic_buffer = False
def __init__(self, tx_cyclic_buffer=False):
if self._complex_data:
N = 2
else:
N = 1
tx_enabled_channels = list(range(len(self._tx_channel_names) // N))
self._num_tx_channels = len(self._tx_channel_names)
self.tx_enabled_channels = tx_enabled_channels
self.tx_cyclic_buffer = tx_cyclic_buffer
dds.__init__(self)
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:328: TypeError
Check failure on line 11 in test/test_ad7124_8.py
github-actions / JUnit Test Report
test_ad7124_8.test_ad7124_8_channels
TypeError: 'NoneType' object is not callable
Raw output
iio_uri = 'ip:10.1.0.62'
@pytest.mark.iio_hardware(hardware)
def test_ad7124_8_channels(iio_uri):
> dev = adi.ad7124(uri=iio_uri)
test/test_ad7124_8.py:11:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
adi/ad7124.py:47: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad7124.ad7124 object at 0x7f0bfb3d38b0>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 40 in test/test_ad7768.py
github-actions / JUnit Test Report
test_ad7768.test_ad4630_attr[sampling_frequency-val0-adi.ad7768]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad7768', attr = 'sampling_frequency'
val = [1000, 2000, 4000, 8000, 16000, 32000, ...]
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
],
)
def test_ad4630_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad7768.py:40:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad7768.py:42: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad7768.ad7768 object at 0x7f0bfb3e7430>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 40 in test/test_ad7768.py
github-actions / JUnit Test Report
test_ad7768.test_ad4630_attr[filter_type-val1-adi.ad7768]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad7768', attr = 'filter_type'
val = ['WIDEBAND', 'SINC5']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
],
)
def test_ad4630_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad7768.py:40:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad7768.py:42: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad7768.ad7768 object at 0x7f0bfb2a99d0>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 40 in test/test_ad7768.py
github-actions / JUnit Test Report
test_ad7768.test_ad4630_attr[power_mode-val2-adi.ad7768]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad7768', attr = 'power_mode'
val = ['MEDIAN_MODE', 'FAST_MODE']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
],
)
def test_ad4630_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad7768.py:40:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad7768.py:42: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad7768.ad7768 object at 0x7f0bfb3727f0>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 41 in test/test_ad7768_4.py
github-actions / JUnit Test Report
test_ad7768_4.test_ad7768_4_attr[sampling_frequency-val0-adi.ad7768_4]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad7768_4'
attr = 'sampling_frequency', val = [1000, 2000, 4000, 8000, 16000, 32000, ...]
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
("sync_start_enable", ["arm"],),
],
)
def test_ad7768_4_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad7768_4.py:41:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad7768.py:42: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad7768.ad7768_4 object at 0x7f0bfb349880>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 41 in test/test_ad7768_4.py
github-actions / JUnit Test Report
test_ad7768_4.test_ad7768_4_attr[filter_type-val1-adi.ad7768_4]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad7768_4', attr = 'filter_type'
val = ['WIDEBAND', 'SINC5']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
("sync_start_enable", ["arm"],),
],
)
def test_ad7768_4_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad7768_4.py:41:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad7768.py:42: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad7768.ad7768_4 object at 0x7f0bfb3846d0>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 41 in test/test_ad7768_4.py
github-actions / JUnit Test Report
test_ad7768_4.test_ad7768_4_attr[power_mode-val2-adi.ad7768_4]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad7768_4', attr = 'power_mode'
val = ['MEDIAN_MODE', 'FAST_MODE']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
("sync_start_enable", ["arm"],),
],
)
def test_ad7768_4_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad7768_4.py:41:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad7768.py:42: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad7768.ad7768_4 object at 0x7f0be070bd90>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 41 in test/test_ad7768_4.py
github-actions / JUnit Test Report
test_ad7768_4.test_ad7768_4_attr[sync_start_enable-val3-adi.ad7768_4]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad7768_4', attr = 'sync_start_enable'
val = ['arm']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
(
"sampling_frequency",
[
1000,
2000,
4000,
8000,
16000,
32000,
64000,
128000,
256000,
32000,
], # End on a rate compatible with all power modes
),
("filter_type", ["WIDEBAND", "SINC5"],),
("power_mode", ["MEDIAN_MODE", "FAST_MODE"],),
("sync_start_enable", ["arm"],),
],
)
def test_ad7768_4_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad7768_4.py:41:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad7768.py:42: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad7768.ad7768_4 object at 0x7f0bfb2c4bb0>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 55 in test/test_ad9081.py
github-actions / JUnit Test Report
test_ad9081.test_ad9081_str_attr[rx_nyquist_zone-val0-adi.ad9081]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad9081', attr = 'rx_nyquist_zone'
val = ['even', 'odd']
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
("rx_nyquist_zone", ["even", "odd"]),
("loopback_mode", [2, 1, 0]),
(
"rx_test_mode",
[
"midscale_short",
"pos_fullscale",
"neg_fullscale",
"checkerboard",
"pn23",
"pn9",
"one_zero_toggle",
"user",
"pn7",
"pn15",
"pn31",
"ramp",
"off",
],
),
(
"tx_main_ffh_mode",
["phase_continuous", "phase_incontinuous", "phase_coherent"],
),
],
)
def test_ad9081_str_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad9081.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad9081.py:122: in __init__
rx_tx.__init__(self)
adi/rx_tx.py:525: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9081.ad9081 object at 0x7f0bfb35cca0>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError
Check failure on line 55 in test/test_ad9081.py
github-actions / JUnit Test Report
test_ad9081.test_ad9081_str_attr[loopback_mode-val1-adi.ad9081]
TypeError: 'NoneType' object is not callable
Raw output
test_attribute_multiple_values = <function attribute_multiple_values at 0x7f0be4410430>
iio_uri = 'ip:10.1.0.62', classname = 'adi.ad9081', attr = 'loopback_mode'
val = [2, 1, 0]
@pytest.mark.iio_hardware(hardware)
@pytest.mark.parametrize("classname", [(classname)])
@pytest.mark.parametrize(
"attr, val",
[
("rx_nyquist_zone", ["even", "odd"]),
("loopback_mode", [2, 1, 0]),
(
"rx_test_mode",
[
"midscale_short",
"pos_fullscale",
"neg_fullscale",
"checkerboard",
"pn23",
"pn9",
"one_zero_toggle",
"user",
"pn7",
"pn15",
"pn31",
"ramp",
"off",
],
),
(
"tx_main_ffh_mode",
["phase_continuous", "phase_incontinuous", "phase_coherent"],
),
],
)
def test_ad9081_str_attr(test_attribute_multiple_values, iio_uri, classname, attr, val):
> test_attribute_multiple_values(iio_uri, classname, attr, val, 0)
test/test_ad9081.py:55:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/attr_tests.py:220: 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 + "')")
<string>:1: in <module>
???
adi/ad9081.py:122: in __init__
rx_tx.__init__(self)
adi/rx_tx.py:525: in __init__
rx.__init__(self)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <adi.ad9081.ad9081 object at 0x7f0bfb3af970>, rx_buffer_size = 1024
def __init__(self, rx_buffer_size=1024):
if self._complex_data:
N = 2
else:
N = 1
rx_enabled_channels = list(range(len(self._rx_channel_names) // N))
self._num_rx_channels = len(self._rx_channel_names)
self.rx_enabled_channels = rx_enabled_channels
self.rx_buffer_size = rx_buffer_size
> if self.__is_libiio_v1():
E TypeError: 'NoneType' object is not callable
adi/rx_tx.py:57: TypeError