aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_taproot.py
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2020-10-30 15:51:51 -0700
committerPieter Wuille <pieter@wuille.net>2020-10-30 15:52:38 -0700
commit3d0556d41087f945ed0a47a5d770076ad42ce432 (patch)
tree48ae2c4b9d384c0e2c5bc87a90a6576f7896218a /test/functional/feature_taproot.py
parent525cbd425e2f6a1dbd0febc53d7ada22cec4661f (diff)
Increase feature_taproot inactive test coverage
Diffstat (limited to 'test/functional/feature_taproot.py')
-rwxr-xr-xtest/functional/feature_taproot.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/functional/feature_taproot.py b/test/functional/feature_taproot.py
index 1d2e346aa8..3e47e24a3b 100755
--- a/test/functional/feature_taproot.py
+++ b/test/functional/feature_taproot.py
@@ -1451,7 +1451,11 @@ class TaprootTest(BitcoinTestFramework):
# Pre-taproot activation tests.
self.log.info("Pre-activation tests...")
- self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[1, 2, 2, 2, 2, 3])
+ # Run each test twice; once in isolation, and once combined with others. Testing in isolation
+ # means that the standardness is verified in every test (as combined transactions are only standard
+ # when all their inputs are standard).
+ self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[1])
+ self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[2, 3])
if __name__ == '__main__':