@ -37,7 +37,7 @@ def test_sensor_shell_attr_get(shell: Shell):
@@ -37,7 +37,7 @@ def test_sensor_shell_attr_get(shell: Shell):
lines = shell . exec_command ( ' sensor attr_get sensor@0 co2 sampling_frequency ' )
assert any ( [ ' sensor@0(channel=co2, attr=sampling_frequency) ' in line for line in lines ] ) , ' expected response not found '
lines = shell . exec_command ( ' sensor attr_get sensor@1 53 3 ' )
lines = shell . exec_command ( ' sensor attr_get sensor@1 54 3 ' )
assert any ( [ ' sensor@1(channel=gauge_state_of_health, attr=slope_th) ' in line for line in lines ] ) , ' expected response not found '
logger . info ( ' response is valid ' )
@ -50,7 +50,7 @@ def test_sensor_shell_attr_set(shell: Shell):
@@ -50,7 +50,7 @@ def test_sensor_shell_attr_set(shell: Shell):
expected_line = ' sensor@0 channel=co2, attr=sampling_frequency set to value=1 '
assert any ( [ expected_line in line for line in lines ] ) , ' expected response not found '
lines = shell . exec_command ( ' sensor attr_set sensor@1 53 3 1 ' )
lines = shell . exec_command ( ' sensor attr_set sensor@1 54 3 1 ' )
expected_line = ' sensor@1 channel=gauge_state_of_health, attr=slope_th set to value=1 '
assert any ( [ expected_line in line for line in lines ] ) , ' expected response not found '