From 00e818ceab63ee6566d8e464db1c6a0586d20e43 Mon Sep 17 00:00:00 2001 From: Trisha De Vera Date: Mon, 2 Sep 2024 16:11:02 +0800 Subject: [PATCH 1/2] Update ad7746 test Remove checking offset attr on differential capacitance and input attr on temp Signed-off-by: Trisha De Vera --- test/test_ad7746.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/test_ad7746.py b/test/test_ad7746.py index f57d2f472..23aaf2252 100644 --- a/test/test_ad7746.py +++ b/test/test_ad7746.py @@ -20,8 +20,6 @@ @pytest.mark.parametrize( "channel, attr", [ - (TEMP_INT, "input"), - (TEMP_EXT, "input"), (VIN, "raw"), (VIN_VDD, "raw"), (VIN, "scale"), @@ -161,17 +159,11 @@ def test_ad7746_attr_singleval( (CIN2, "calibbias", [0, 62745, 125, 50], 0.5, 2), (CIN2_DIFF, "calibbias", [0, 62745, 125, 50], 0.5, 2), (CIN1, "offset", ["8127504"], 1, 2), - (CIN1_DIFF, "offset", ["8127504"], 1, 2), (CIN2, "offset", ["8127504"], 1, 2), - (CIN2_DIFF, "offset", ["8127504"], 1, 2), (CIN1, "offset", ["7111566"], 1, 2), - (CIN1_DIFF, "offset", ["7111566"], 1, 2), (CIN2, "offset", ["7111566"], 1, 2), - (CIN2_DIFF, "offset", ["7111566"], 1, 2), (CIN1, "offset", ["5079690"], 1, 2), - (CIN1_DIFF, "offset", ["5079690"], 1, 2), (CIN2, "offset", ["5079690"], 1, 2), - (CIN2_DIFF, "offset", ["5079690"], 1, 2), ], ) def test_ad7746_attr_multiple_val( From 980d44d7f00dc169ca9a84fc9e965760766ebd08 Mon Sep 17 00:00:00 2001 From: Trisha De Vera Date: Mon, 2 Sep 2024 16:48:33 +0800 Subject: [PATCH 2/2] Update ad7746 xml file Update ad7746 xml file on test/emu/devices Signed-off-by: Trisha De Vera --- test/emu/devices/ad7746.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/emu/devices/ad7746.xml b/test/emu/devices/ad7746.xml index e6603a640..afd63753d 100644 --- a/test/emu/devices/ad7746.xml +++ b/test/emu/devices/ad7746.xml @@ -1 +1 @@ -]> \ No newline at end of file +]> \ No newline at end of file