From b079318c4b6947f9cb9a44e737f8843d595a83c3 Mon Sep 17 00:00:00 2001 From: Stefan Allius Date: Fri, 3 Nov 2023 18:26:43 +0100 Subject: [PATCH] fix syntax error --- app/tests/test_infos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tests/test_infos.py b/app/tests/test_infos.py index 366bda0..d93fc2c 100644 --- a/app/tests/test_infos.py +++ b/app/tests/test_infos.py @@ -360,7 +360,7 @@ def test_dep_rules(): res = i.ignore_this_device({'reg':0xffffff00, 'gte': 2}) assert res == False - i.inc_counter('Inverter_Cnt') is 3 + i.inc_counter('Inverter_Cnt') # is 3 res = i.ignore_this_device({'reg':0xffffff00, 'less_eq': 2}) assert res == True res = i.ignore_this_device({'reg':0xffffff00, 'gte': 2})