From e662be152d0b2fe0d1626a845121db5f1a51d9aa Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 1 Oct 2023 20:17:10 +0200 Subject: Update tests with last API. --- tests/analysis/scan/pyapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/analysis/scan/pyapi.py b/tests/analysis/scan/pyapi.py index ff3143f..8764074 100644 --- a/tests/analysis/scan/pyapi.py +++ b/tests/analysis/scan/pyapi.py @@ -28,13 +28,13 @@ class TestRostPythonAPI(ChrysalideTestCase): e = ScanExpression() - def __TODO__testBooleanComparison(self): + def testBooleanComparison(self): """Compare custom scan expressions.""" class StrLenExpr(ScanExpression): def __init__(self, value): - super().__init__(ScanExpression.ExprValueType.STRING) + super().__init__(ScanExpression.ScanReductionState.REDUCED) self._value = value def _cmp_rich(self, other, op): -- cgit v0.11.2-87-g4458