summaryrefslogtreecommitdiff
path: root/tests/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-10-01 18:17:10 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-10-01 18:17:10 (GMT)
commite662be152d0b2fe0d1626a845121db5f1a51d9aa (patch)
tree2b86c0721df51ba89501ffa3f3dbf00a089078cb /tests/analysis
parent3ab6c0c0072ae0e2abde48d60d7eac18f084a764 (diff)
Update tests with last API.
Diffstat (limited to 'tests/analysis')
-rw-r--r--tests/analysis/scan/pyapi.py4
1 files 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):