From 4bae47ea6d760cb9bda7d3f388cdfe5e44e963df Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 22 Oct 2019 14:32:00 +0000 Subject: [PATCH] tests: add multisig marker --- tests/REGISTERED_MARKERS | 1 + tests/device_tests/test_msg_getaddress.py | 3 +++ tests/device_tests/test_msg_getaddress_segwit.py | 1 + tests/device_tests/test_msg_getaddress_segwit_native.py | 1 + tests/device_tests/test_msg_getaddress_show.py | 2 ++ tests/device_tests/test_msg_signtx_bcash.py | 2 ++ tests/device_tests/test_msg_signtx_bgold.py | 2 ++ tests/device_tests/test_msg_signtx_decred.py | 1 + tests/device_tests/test_msg_signtx_segwit.py | 1 + tests/device_tests/test_msg_signtx_segwit_native.py | 6 ++++++ tests/device_tests/test_multisig.py | 3 +++ tests/device_tests/test_multisig_change.py | 8 ++++++++ 12 files changed, 31 insertions(+) diff --git a/tests/REGISTERED_MARKERS b/tests/REGISTERED_MARKERS index e73668e237..93c3140553 100644 --- a/tests/REGISTERED_MARKERS +++ b/tests/REGISTERED_MARKERS @@ -8,6 +8,7 @@ ethereum komodo lisk monero +multisig nem ontology ripple diff --git a/tests/device_tests/test_msg_getaddress.py b/tests/device_tests/test_msg_getaddress.py index 8dd26e73e8..1708237270 100644 --- a/tests/device_tests/test_msg_getaddress.py +++ b/tests/device_tests/test_msg_getaddress.py @@ -123,6 +123,7 @@ class TestMsgGetaddress: == "2dpWh6jbhAowNsQ5agtFzi7j6nKscj6UnEr" ) + @pytest.mark.multisig def test_multisig(self, client): xpubs = [] for n in range(1, 4): @@ -151,6 +152,7 @@ class TestMsgGetaddress: == "36gP3KVx1ooStZ9quZDXbAF3GCr42b2zzd" ) + @pytest.mark.multisig def test_multisig_missing(self, client): xpubs = [] for n in range(1, 4): @@ -178,6 +180,7 @@ class TestMsgGetaddress: ) @pytest.mark.altcoin + @pytest.mark.multisig def test_bch_multisig(self, client): xpubs = [] for n in range(1, 4): diff --git a/tests/device_tests/test_msg_getaddress_segwit.py b/tests/device_tests/test_msg_getaddress_segwit.py index 5dd47ea0ba..e041a477af 100644 --- a/tests/device_tests/test_msg_getaddress_segwit.py +++ b/tests/device_tests/test_msg_getaddress_segwit.py @@ -92,6 +92,7 @@ class TestMsgGetaddressSegwit: == "XNW67ZQA9K3AuXPBWvJH4zN2y5QBDTwy2Z" ) + @pytest.mark.multisig def test_show_multisig_3(self, client): nodes = [ btc.get_public_node(client, parse_path("999'/1'/%d'" % i)).node diff --git a/tests/device_tests/test_msg_getaddress_segwit_native.py b/tests/device_tests/test_msg_getaddress_segwit_native.py index e314466acc..ec3008dd33 100644 --- a/tests/device_tests/test_msg_getaddress_segwit_native.py +++ b/tests/device_tests/test_msg_getaddress_segwit_native.py @@ -92,6 +92,7 @@ class TestMsgGetaddressSegwitNative: == "ert1qkvwu9g3k2pdxewfqr7syz89r3gj557l3xp9k2v" ) + @pytest.mark.multisig def test_show_multisig_3(self, client): nodes = [ btc.get_public_node(client, parse_path("999'/1'/%d'" % index)).node diff --git a/tests/device_tests/test_msg_getaddress_show.py b/tests/device_tests/test_msg_getaddress_show.py index acd236e5b7..9e344cb159 100644 --- a/tests/device_tests/test_msg_getaddress_show.py +++ b/tests/device_tests/test_msg_getaddress_show.py @@ -37,6 +37,7 @@ class TestMsgGetaddressShow: == "1CmzyJp9w3NafXMSEFH4SLYUPAVCSUrrJ5" ) + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_show_multisig_3(self, client): node = bip32.deserialize( @@ -60,6 +61,7 @@ class TestMsgGetaddressShow: == "3E7GDtuHqnqPmDgwH59pVC7AvySiSkbibz" ) + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_show_multisig_15(self, client): node = bip32.deserialize( diff --git a/tests/device_tests/test_msg_signtx_bcash.py b/tests/device_tests/test_msg_signtx_bcash.py index 3411d22337..4ff15d3da6 100644 --- a/tests/device_tests/test_msg_signtx_bcash.py +++ b/tests/device_tests/test_msg_signtx_bcash.py @@ -401,6 +401,7 @@ class TestMsgSigntxBch: with pytest.raises(CallException): btc.sign_tx(client, "Bcash", [inp1], [out1, out2], prev_txes=TX_API) + @pytest.mark.multisig def test_send_bch_multisig_wrongchange(self, client): nodes = [ btc.get_public_node(client, parse_path("48'/145'/%d'" % i)).node @@ -487,6 +488,7 @@ class TestMsgSigntxBch: == "01000000015f3d291cae106548f3be5ed0f4cbedc65668fa881d60347ab0d512df10af8cf601000000fc0047304402201badcdcafef4855ed58621f95935efcbc72068510472140f4ec5e252faa0af93022003310a43488288f70aedee96a5af2643a255268a6858cda9ae3001ea5e3c75574147304402207274b5a4d15e75f3df7319a375557b0efba9b27bc63f9f183a17da95a6125c94022000efac57629f1522e2d3958430e2ef073b0706cfac06cce492651b79858f09ae414c69522102245739b55787a27228a4fe78b3a324366cc645fbaa708cad45da351a334341192102debbdcb0b6970d5ade84a50fdbda1c701cdde5c9925d9b6cd8e05a9a15dbef352102ffe5fa04547b2b0c3cfbc21c08a1ddfb147025fee10274cdcd5c1bdeee88eae253aeffffffff01d85900000000000017a914a23eb2a1ed4003d357770120f5c370e199ee55468700000000" ) + @pytest.mark.multisig def test_send_bch_multisig_change(self, client): nodes = [ btc.get_public_node(client, parse_path("48'/145'/%d'" % i)).node diff --git a/tests/device_tests/test_msg_signtx_bgold.py b/tests/device_tests/test_msg_signtx_bgold.py index a7f6a88caf..6623283394 100644 --- a/tests/device_tests/test_msg_signtx_bgold.py +++ b/tests/device_tests/test_msg_signtx_bgold.py @@ -216,6 +216,7 @@ class TestMsgSigntxBitcoinGold: with pytest.raises(CallException): btc.sign_tx(client, "Bgold", [inp1], [out1, out2], prev_txes=TX_API) + @pytest.mark.multisig def test_send_btg_multisig_change(self, client): nodes = [ btc.get_public_node(client, parse_path("48'/156'/%d'" % i)).node @@ -478,6 +479,7 @@ class TestMsgSigntxBitcoinGold: == "0100000000010185c9dd4ae1071affd77d90b9d03c1b5fdd7c62cf30a9bb8230ad766cf06b52250000000017160014b5355d001e720d8f4513da00ff2bba4dcf9d39fcffffffff02e0aebb00000000001976a914ea5f904d195079a350b534db4446433b3cec222e88ac3df39f060000000017a9140cd03822b799a452c106d1b3771844a067b17f118702483045022100d79b33384c686d8dd40ad5f84f46691d30994992c1cb42e934c2a625d86cb2f902206859805a9a98ba140b71a9d4b9a6b8df94a9424f9c40f3bd804149fd6e278d63412102ecea08b559fc5abd009acf77cfae13fa8a3b1933e3e031956c65c12cec8ca3e300000000" ) + @pytest.mark.multisig def test_send_multisig_1(self, client): nodes = [ btc.get_public_node(client, parse_path("49'/156'/%d'" % i)).node diff --git a/tests/device_tests/test_msg_signtx_decred.py b/tests/device_tests/test_msg_signtx_decred.py index 18595489e1..4ef5bb27be 100644 --- a/tests/device_tests/test_msg_signtx_decred.py +++ b/tests/device_tests/test_msg_signtx_decred.py @@ -272,6 +272,7 @@ class TestMsgSigntxDecred: == "010000000370b95980a47b9bcb4ec2c2b450888a53179b1a5fdb23f5023cc533a300356e5e0000000000ffffffff74bc93bcfce18aff2e522d6822817522e2815a00175b2eae59ef20d20f5bf9cc0100000000ffffffff13317ab453832deabd684d2302eed42580c28ba3e715db66a731a8723eef95f30000000000ffffffff02d86c341d0000000000001976a9143eb656115197956125365348c542e37b6d3d259988ac00e1f5050000000000001976a9143ee6f9d662e7be18373d80e5eb44627014c2bf6688ac000000000000000003000000000000000000000000ffffffff6a47304402200e50a6d43c462045917792e7d03b4354900c3baccb7abef66f556a32b12f2ca6022031ae94fdf2a41dd6ed2e081faf0f8f1c64411a1b46eb26f7f35d94402b2bde110121030e669acac1f280d1ddf441cd2ba5e97417bf2689e4bbec86df4f831bf9f7ffd0000000000000000000000000ffffffff6a47304402204894c2f8e76c4645d2df600cdd01443aeb48807b72150c4bc10eebd126529532022054cd37462a3f0ddb85c75b4e874ab0c2aad7eebcff3e6c1ac20e1c16babe36720121030e669acac1f280d1ddf441cd2ba5e97417bf2689e4bbec86df4f831bf9f7ffd0000000000000000000000000ffffffff6b4830450221009f1ba584023da8aafd57374e83be68f1a097b906967ec9e50736f31bfc7989f102204a190fc2885e394572b5c2ced046657b1dd07abdb19144e21e78987968c7f17601210294e3e5e77e22eea0e4c0d30d89beb4db7f69b4bf1ae709e411d6a06618b8f852" ) + @pytest.mark.multisig def test_decred_multisig_change(self, client): paths = [parse_path("m/48'/1'/%d'" % index) for index in range(3)] nodes = [ diff --git a/tests/device_tests/test_msg_signtx_segwit.py b/tests/device_tests/test_msg_signtx_segwit.py index 80bfaba5d3..ec83d9ff5e 100644 --- a/tests/device_tests/test_msg_signtx_segwit.py +++ b/tests/device_tests/test_msg_signtx_segwit.py @@ -207,6 +207,7 @@ class TestMsgSigntxSegwit: == "01000000000101ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000171600140099a7ecbd938ed1839f5f6bf6d50933c6db9d5cffffffff01010000000100000017a914097c569095163e84475d07aa95a1f736df895b7b8702483045022100cb9d3aa7a8064702e6b61c20c7fb9cb672c69d3786cf5efef8ad6d90136ca7d8022065119ff6c6e6e6960e6508fc5360359bb269bb25ef8d90019decaa0a050cc45a0121033add1f0e8e3c3136f7428dd4a4de1057380bd311f5b0856e2269170b4ffa65bf00000000" ) + @pytest.mark.multisig def test_send_multisig_1(self, client): nodes = [ btc.get_public_node(client, parse_path("49'/1'/%d'" % i)).node diff --git a/tests/device_tests/test_msg_signtx_segwit_native.py b/tests/device_tests/test_msg_signtx_segwit_native.py index 3426de8f82..51c66639d3 100644 --- a/tests/device_tests/test_msg_signtx_segwit_native.py +++ b/tests/device_tests/test_msg_signtx_segwit_native.py @@ -14,6 +14,8 @@ # You should have received a copy of the License along with this library. # If not, see . +import pytest + from trezorlib import btc, messages as proto from trezorlib.ckd_public import deserialize from trezorlib.tools import H_, parse_path @@ -393,6 +395,7 @@ class TestMsgSigntxSegwitNative: == "010000000001028a44999c07bba32df1cacdc50987944e68e3205b4429438fdde35c76024614090100000017160014d16b8c0680c61fc6ed2e407455715055e41052f5ffffffff7b010c5faeb41cc5c253121b6bf69bf1a7c5867cd7f2d91569fea0ecd311b8650100000000ffffffff03e0aebb0000000000160014a579388225827d9f2fe9014add644487808c695d00cdb7020000000017a91491233e24a9bf8dbb19c1187ad876a9380c12e787870d859b03000000001976a914a579388225827d9f2fe9014add644487808c695d88ac02483045022100ead79ee134f25bb585b48aee6284a4bb14e07f03cc130253e83450d095515e5202201e161e9402c8b26b666f2b67e5b668a404ef7e57858ae9a6a68c3837e65fdc69012103e7bfe10708f715e8538c92d46ca50db6f657bbc455b7494e6a0303ccdb868b7902463043021f585c54a84dc7326fa60e22729accd41153c7dd4725bd4c8f751aa3a8cd8d6a0220631bfd83fc312cc6d5d129572a25178696d81eaf50c8c3f16c6121be4f4c029d012103505647c017ff2156eb6da20fae72173d3b681a1d0a629f95f49e884db300689f00000000" ) + @pytest.mark.multisig def test_send_multisig_1(self, client): nodes = [ btc.get_public_node(client, parse_path("49'/1'/%d'" % index)) @@ -493,6 +496,7 @@ class TestMsgSigntxSegwitNative: == "01000000000101be0210025c5be68a473f6a38bf53b53bc88d5c46567616026dc056e72b92319c01000000232200208d398cfb58a1d9cdb59ccbce81559c095e8c6f4a3e64966ca385078d9879f95effffffff01887d180000000000220020c5f4a0a4ea7c0392efe0a9670a73264cffa90b19107cd8a8e9750ff93c77fdfb0400483045022100dd6342c65197af27d7894d8b8b88b16b568ee3b5ebfdc55fdfb7caa9650e3b4c02200c7074a5bcb0068f63d9014c7cd2b0490aba75822d315d41aad444e9b86adf5201483045022100e7e6c2d21109512ba0609e93903e84bfb7731ac3962ee2c1cad54a7a30ff99a20220421497930226c39fc3834e8d6da3fc876516239518b0e82e2dc1e3c46271a17c01695221021630971f20fa349ba940a6ba3706884c41579cd760c89901374358db5dd545b92102f2ff4b353702d2bb03d4c494be19d77d0ab53d16161b53fbcaf1afeef4ad0cb52103e9b6b1c691a12ce448f1aedbbd588e064869c79fbd760eae3b8cd8a5f1a224db53ae00000000" ) + @pytest.mark.multisig def test_send_multisig_2(self, client): nodes = [ btc.get_public_node(client, parse_path("84'/1'/%d'" % index)) @@ -593,6 +597,7 @@ class TestMsgSigntxSegwitNative: == "010000000001012812fe3916f228cda6c7b57d5464541265a63ad118f430a805eeec8bddbe1cf40000000000ffffffff01a0791800000000002200201e8dda334f11171190b3da72e526d441491464769679a319a2f011da5ad312a10400473044022001b7f4f21a8ddcd5e0faaaee3b95515bf8b84f2a7cbfdf66996c64123617a5cf02202fc6a776a7225420dbca759ad4ac83a61d15bf8d2883b6bf1aa31de7437f9b6e0147304402206c4125c1189a3b3e93a77cdf54c60c0538b80e5a03ec74e6ac776dfa77706ee4022035be14de76259b9d8a24863131a06a65b95df02f7d3ace90d52b37e8d94b167f0169522103bab8ecdd9ae2c51a0dc858f4c751b27533143bf6013ba1725ba8a4ecebe7de8c21027d5e55696c875308b03f2ca3d8637f51d3e35da9456a5187aa14b3de8a89534f2103b78eabaea8b3a4868be4f4bb96d6f66973f7081faa7f1cafba321444611c241e53ae00000000" ) + @pytest.mark.multisig def test_send_multisig_3_change(self, client): nodes = [ btc.get_public_node(client, parse_path("84'/1'/%d'" % index)) @@ -699,6 +704,7 @@ class TestMsgSigntxSegwitNative: == "01000000000101fc7901dd033f8c02da14f3ac916b6498036b80b4a0b4dc124e02c2bb408034c90000000000ffffffff01b87518000000000017a914536250d41937e5b641082447580ff6a8e46c122a870400473044022003c26107a5a47f1f900ef8aa758977530cd13ea37a33971abae8d75cac2f9f34022039e2b8c2c1d0c24ff4fc026652e1f27ad8e3ed6c9bf485f61d9aa691cb57830801483045022100963b0dc0ab46e963a66ab6e69e5e41bac6c4fedc127cac12c560b029d54fe87402205b3bcdcf313dccd78e5dce0540e7d3c8cc1bf83f13c1f9f01811eb791fd35c8101695221039dba3a72f5dc3cad17aa924b5a03c34561465f997d0cb15993f2ca2c0be771c42103cd39f3f08bbd508dce4d307d57d0c70c258c285878bfda579fa260acc738c25d2102cd631ba95beca1d64766f5540885092d0bb384a3c13b6c3a5334d0ebacf51b9553ae00000000" ) + @pytest.mark.multisig def test_send_multisig_4_change(self, client): nodes = [ btc.get_public_node(client, parse_path("49'/1'/%d'" % index)) diff --git a/tests/device_tests/test_multisig.py b/tests/device_tests/test_multisig.py index 75f28a2941..daab63254c 100644 --- a/tests/device_tests/test_multisig.py +++ b/tests/device_tests/test_multisig.py @@ -30,6 +30,7 @@ TXHASH_c6091a = bytes.fromhex( class TestMultisig: + @pytest.mark.multisig def test_2_of_3(self, client): nodes = [ btc.get_public_node(client, parse_path("48'/0'/%d'" % index)).node @@ -202,6 +203,7 @@ class TestMultisig: == "010000000152ba4dfcde9c4bed88f55479cdea03e711ae586e9a89352a98230c4cdf1a09c601000000fc00473044022052f4a3dc5ca3e86ed66abb1e2b4d9b9ace7d96f5615944beea19e58280847c2902201bd3ff32a38366a4eed0373e27da26ebc0d2a4c2bbeffd83e8a60e313d95b9e30147304402203828fd48540811be6a1b12967e7012587c46e6f05c78d42471e7b25c06bc7afc0220749274bc1aa698335b00400c5ba946a70b6b46c711324fbc4989279737a57f49014c6952210203ed6187880ae932660086e55d4561a57952dd200aa3ed2aa66b73e5723a0ce7210360e7f32fd3c8dee27a166f6614c598929699ee66acdcbda5fb24571bf2ae1ca021037c4c7e5d3293ab0f97771dcfdf83caadab341f427f54713da8b2c590a834f03b53aeffffffff01a0860100000000001976a91412e8391ad256dcdc023365978418d658dfecba1c88ac00000000" ) + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_15_of_15(self, client): """ @@ -262,6 +264,7 @@ class TestMultisig: == "01000000011553ef34c683f4d6a8d346844409e6e7fc4ff01eaa25b7e8ce215abbfee3896101000000fd43060048304502210098e23085ad7282de988bf98afa1e9add9c9830009132f8902a9fa4624d5dc98b0220733216e70ab67791aa64be5c83d2050cb4ed9ff7eda2a1acc35da024d2ab2a670147304402201f8c11fb6e90fd616e484986e9451929797eba039882a9abcc203210948060b9022044da031530de7d9747d3c5a8e7cec04b04b7af495c9120b854ce7362af7fa05a01483045022100ea67c70186acef019bdf1551881bf38e6f88186501b64d3a756a2ce18e4ba18002201c35110325653e21e448b60053a4b5dda46b61096faf701a1faca61fcde91f00014730440220315598992f156d2f9d7b4275395fa067aa61ea95829fa17730885c86df4de70d02203eda9ade1656e2198c668603b17e197acb0969ed183ab0841303ea261205618901473044022060fdd6621edde9b8cf6776bc4eef26ace9b57514d725b7214ba11d333520a30e022044c30744f94484aec0f896233c5613a3256878ec0379f566226906b6d1b6061401483045022100b1d907e3574f60f7834c7e9f2e367998ce0461dad7d742d84ef8917d713f41f902203b3ac54f7bb2f7fb8685f582d2a94f7213a37cb508acffe29090cc06ae01588b01483045022100e3bf90ff3ad6395e42f46002f253f94ca0e8ffaa0620f2ceb4fa21493abdca4d02201d4c28b10b740bb2dc4b3695b4205c18f8c0dad2bb69540eb8a36576463cd5280147304402202cfaf9fab7dc1c9f0c3c23bd46bd6d5cea0664d914139fc9add80766ce998808022012db2802c07853e4cbe147afdf0b47e60bdcbcd31f9df19e04c177ed9aa66c6d0147304402207cbc2d83f351eee5ee91df26bb0c7e1cb07fe328cbbcdb0bb9656d37922c497302201b3435d4c71ffd1b34d45892f2a487bd79c8c7f57cc04373287642bb9610cb840147304402202dc3eab30ccb06553703e794212f43ee9a659f5e787a8374e9ea0bf6de0def7402201a70e970c21a807783313ed102bf4f0a3406ac7c84f94bc8194c5e209464d7230147304402206b04530c190c46a879d7771a6ad53acd33547e0d7fd320d5ad0b5b1fdeb5d4c202207b812be81c3419daadc942cca0c55aa32c7759fa7566c6dc35f030ca87a1c5be01483045022100ce523dddd6eef73d5ae7c44c870466e1ac5a7a77d43475e8def024af68977a1e022028be0276435bfa2ea887d6cf89fa829f96c1c7a55edc57bb3fd667d523fd3bf601473044022019410b20ebcd8eb3ee7ec1eff6bf0f9cbfaea82116811c61f3cf24af7e4434b1022009e5823f3349f695be09ae40754185300d8442a22715ddb5ffa17c4213140e7201483045022100964ef26a9074c3cdafffcfbe4bd445933f8c842ba11fd887922adcf7fabe0c82022023055d94c75ab223c767fbaa825c917e9beecbc7d5758cccf20d886c63d4b72a0147304402207aa3a98197697d258a8baae681f0b4c0ee682982f4205534e6c95a37dabaddd60220517a7ed5c03da2f242e17ccfdae0d81d6f454d7f9ea931fc62df6c0eab922186014d01025f21023230848585885f63803a0a8aecdd6538792d5c539215c91698e315bf0253b43d210338d78612e990f2eea0c426b5e48a8db70b9d7ed66282b3b26511e0b1c75515a621038caebd6f753bbbd2bb1f3346a43cd32140648583673a31d62f2dfb56ad0ab9e32103477b9f0f34ae85434ce795f0c5e1e90c9420e5b5fad084d7cce9a487b94a79022103fe91eca10602d7dad4c9dab2b2a0858f71e25a219a6940749ce7a48118480dae210234716c01c2dd03fa7ee302705e2b8fbd1311895d94b1dca15e62eedea9b0968f210341fb2ead334952cf60f4481ba435c4693d0be649be01d2cfe9b02018e483e7bd2102dad8b2bce360a705c16e74a50a36459b4f8f4b78f9cd67def29d54ef6f7c7cf9210222dbe3f5f197a34a1d50e2cbe2a1085cac2d605c9e176f9a240e0fd0c669330d2103fb41afab56c9cdb013fda63d777d4938ddc3cb2ad939712da688e3ed333f95982102435f177646bdc717cb3211bf46656ca7e8d642726144778c9ce816b8b8c36ccf2102158d8e20095364031d923c7e9f7f08a14b1be1ddee21fe1a5431168e31345e5521026259794892428ca0818c8fb61d2d459ddfe20e57f50803c7295e6f4e2f5586652102815f910a8689151db627e6e262e0a2075ad5ec2993a6bc1b876a9d420923d681210318f54647f645ff01bd49fedc0219343a6a22d3ea3180a3c3d3097e4b888a8db45faeffffffff0110270000000000001976a9144a087d89f8ad16ca029c675b037c02fd1c5f9aec88ac00000000" ) + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_missing_pubkey(self, client): node = bip32.deserialize( diff --git a/tests/device_tests/test_multisig_change.py b/tests/device_tests/test_multisig_change.py index 33db517d75..fe566fc89e 100644 --- a/tests/device_tests/test_multisig_change.py +++ b/tests/device_tests/test_multisig_change.py @@ -238,6 +238,7 @@ class TestMultisigChange: return resp # both outputs are external + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_external_external(self, client): out1 = proto.TxOutputType( @@ -268,6 +269,7 @@ class TestMultisigChange: ) # first external, second internal + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_external_internal(self, client): out1 = proto.TxOutputType( @@ -300,6 +302,7 @@ class TestMultisigChange: ) # first internal, second external + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_internal_external(self, client): out1 = proto.TxOutputType( @@ -332,6 +335,7 @@ class TestMultisigChange: ) # both outputs are external + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_multisig_external_external(self, client): out1 = proto.TxOutputType( @@ -362,6 +366,7 @@ class TestMultisigChange: ) # inputs match, change matches (first is change) + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_multisig_change_match_first(self, client): multisig_out1 = proto.MultisigRedeemScriptType( @@ -402,6 +407,7 @@ class TestMultisigChange: ) # inputs match, change matches (second is change) + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_multisig_change_match_second(self, client): multisig_out2 = proto.MultisigRedeemScriptType( @@ -442,6 +448,7 @@ class TestMultisigChange: ) # inputs match, change mismatches (second tries to be change but isn't) + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_multisig_mismatch_change(self, client): multisig_out2 = proto.MultisigRedeemScriptType( @@ -480,6 +487,7 @@ class TestMultisigChange: ) # inputs mismatch, change matches with first input + @pytest.mark.multisig @pytest.mark.setup_client(mnemonic=MNEMONIC12) def test_multisig_mismatch_inputs(self, client): multisig_out1 = proto.MultisigRedeemScriptType(