From 64920e7c70f789c24dad977100b33b416bbda220 Mon Sep 17 00:00:00 2001 From: Christoph Holtermann Date: Tue, 8 Mar 2022 10:49:44 +0100 Subject: [PATCH] Small fix in expected result --- bindings/python/example_scripts/qof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/example_scripts/qof.py b/bindings/python/example_scripts/qof.py index 166ca72df1..65e714e402 100644 --- a/bindings/python/example_scripts/qof.py +++ b/bindings/python/example_scripts/qof.py @@ -162,4 +162,4 @@ with Session(uri, SessionOpenMode.SESSION_NEW_STORE) as ses: threshold = GncNumeric(5000, 100) terms = [(["amount"], gnucash_core.QueryNumericPredicate(QOF_COMPARE_GT, QOF_NUMERIC_MATCH_ANY, threshold), QOF_QUERY_AND)] splits_3 = query_splits(book, terms) - print("Query splits with amount > " + str(threshold) + ": " + str(len(splits_3)) + " (Should be about 50).") + print("Query splits with amount > " + str(threshold) + ": " + str(len(splits_3)) + " (Should be about 100).")