Skip to content

Commit 1187648

Browse files
committed
even more test conditionals
1 parent 3cce19e commit 1187648

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_msg_signmessage_segwit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def test_sign_long(self):
4646
self.assertEqual(hexlify(sig.signature), b'245ff795c29aef7538f8b3bdb2e8add0d0722ad630a140b6aefd504a5a895cbd867cbb00981afc50edd0398211e8d7c304bb8efa461181bc0afa67ea4a720a89ed')
4747

4848
def test_sign_grs(self):
49+
self.requires_fullFeature()
4950
self.setup_mnemonic_allallall()
5051
sig = self.client.sign_message('Groestlcoin', parse_path("49'/17'/0'/0/0"), "test", script_type=proto_types.SPENDP2SHWITNESS)
5152
self.assertEqual(sig.address, '31inaRqambLsd9D7Ke4USZmGEVd3PHkh7P')

tests/test_msg_signmessage_segwit_native.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def test_sign_long(self):
4646
self.assertEqual(hexlify(sig.signature), b'285ff795c29aef7538f8b3bdb2e8add0d0722ad630a140b6aefd504a5a895cbd867cbb00981afc50edd0398211e8d7c304bb8efa461181bc0afa67ea4a720a89ed')
4747

4848
def test_sign_grs(self):
49+
self.requires_fullFeature()
4950
self.setup_mnemonic_allallall()
5051
sig = self.client.sign_message('Groestlcoin', parse_path("84'/17'/0'/0/0"), "test", script_type=proto_types.SPENDWITNESS)
5152
self.assertEqual(sig.address, 'grs1qw4teyraux2s77nhjdwh9ar8rl9dt7zww8r6lne')

tests/test_msg_signtx_grs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def test_one_one_fee(self):
3333
# http://blockbook.groestlcoin.org/tx/f56521b17b828897f72b30dd21b0192fd942342e89acbb06abf1d446282c30f5
3434
# ptx1: http://blockbook.groestlcoin.org/tx/cb74c8478c5814742c87cffdb4a21231869888f8042fb07a90e015a9db1f9d4a
3535

36+
self.requires_fullFeature()
3637
self.setup_mnemonic_allallall()
3738

3839
ptx1hash='cb74c8478c5814742c87cffdb4a21231869888f8042fb07a90e015a9db1f9d4a'

0 commit comments

Comments
 (0)