From 7b1dd76c2c62ae95d3e99e971b629b02f8fe1be2 Mon Sep 17 00:00:00 2001 From: Shoham Chakraborty Date: Sat, 14 Jan 2023 17:33:40 +0800 Subject: [PATCH] Add test for accounthistorycount --- test/functional/feature_listaccounthistory_multiaccountquery.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/feature_listaccounthistory_multiaccountquery.py b/test/functional/feature_listaccounthistory_multiaccountquery.py index dd9ec493b02..7feb67a39ab 100644 --- a/test/functional/feature_listaccounthistory_multiaccountquery.py +++ b/test/functional/feature_listaccounthistory_multiaccountquery.py @@ -63,9 +63,11 @@ def run_test(self): self.sync_blocks() combined = self.nodes[0].listaccounthistory([collateral_a, collateral_b]) + combined_count = self.nodes[0].accounthistorycount([collateral_a, collateral_b]) a = self.nodes[0].listaccounthistory([collateral_a]) b = self.nodes[0].listaccounthistory([collateral_b]) + assert_equal(len(combined), combined_count) assert_equal(len(combined), len(a) + len(b))