Skip to content

Commit 3d0556d

Browse files
committed
Increase feature_taproot inactive test coverage
1 parent 525cbd4 commit 3d0556d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/functional/feature_taproot.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,11 @@ def run_test(self):
14511451

14521452
# Pre-taproot activation tests.
14531453
self.log.info("Pre-activation tests...")
1454-
self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[1, 2, 2, 2, 2, 3])
1454+
# Run each test twice; once in isolation, and once combined with others. Testing in isolation
1455+
# means that the standardness is verified in every test (as combined transactions are only standard
1456+
# when all their inputs are standard).
1457+
self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[1])
1458+
self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[2, 3])
14551459

14561460

14571461
if __name__ == '__main__':

0 commit comments

Comments
 (0)