diff --git a/tests/device_tests/REGISTERED_MARKERS b/tests/device_tests/REGISTERED_MARKERS index c61862dbb6..4cff69b25e 100644 --- a/tests/device_tests/REGISTERED_MARKERS +++ b/tests/device_tests/REGISTERED_MARKERS @@ -1,3 +1,4 @@ +altcoin binance capricoin cardano diff --git a/tests/device_tests/test_msg_binance_get_address.py b/tests/device_tests/test_msg_binance_get_address.py index 57ee5cddb6..410abbc6eb 100644 --- a/tests/device_tests/test_msg_binance_get_address.py +++ b/tests/device_tests/test_msg_binance_get_address.py @@ -11,6 +11,7 @@ BINANCE_ADDRESS_TEST_VECTORS = [ ] +@pytest.mark.altcoin @pytest.mark.binance @pytest.mark.skip_t1 # T1 support is not planned @setup_client( diff --git a/tests/device_tests/test_msg_binance_get_public_key.py b/tests/device_tests/test_msg_binance_get_public_key.py index a55b96ca3f..b99c63d46b 100644 --- a/tests/device_tests/test_msg_binance_get_public_key.py +++ b/tests/device_tests/test_msg_binance_get_public_key.py @@ -8,6 +8,7 @@ from .conftest import setup_client BINANCE_PATH = parse_path("m/44h/714h/0h/0/0") +@pytest.mark.altcoin @pytest.mark.binance @pytest.mark.skip_t1 # T1 support is not planned @setup_client( diff --git a/tests/device_tests/test_msg_binance_sign_tx.py b/tests/device_tests/test_msg_binance_sign_tx.py index c7650f7e5d..664b9265a4 100644 --- a/tests/device_tests/test_msg_binance_sign_tx.py +++ b/tests/device_tests/test_msg_binance_sign_tx.py @@ -86,6 +86,7 @@ BINANCE_TEST_VECTORS = [ ] +@pytest.mark.altcoin @pytest.mark.binance @pytest.mark.skip_t1 # T1 support is not planned @setup_client( diff --git a/tests/device_tests/test_msg_cardano_get_address.py b/tests/device_tests/test_msg_cardano_get_address.py index c087f732b1..20a88ea1e2 100644 --- a/tests/device_tests/test_msg_cardano_get_address.py +++ b/tests/device_tests/test_msg_cardano_get_address.py @@ -23,6 +23,7 @@ from .common import TrezorTest from .conftest import setup_client +@pytest.mark.altcoin @pytest.mark.cardano @pytest.mark.skip_t1 # T1 support is not planned @pytest.mark.parametrize( diff --git a/tests/device_tests/test_msg_cardano_get_address_shamir.py b/tests/device_tests/test_msg_cardano_get_address_shamir.py index 4e34473365..1c0ea27903 100644 --- a/tests/device_tests/test_msg_cardano_get_address_shamir.py +++ b/tests/device_tests/test_msg_cardano_get_address_shamir.py @@ -28,6 +28,7 @@ SLIP39_MNEMONIC = [ ] +@pytest.mark.altcoin @pytest.mark.cardano @pytest.mark.skip_t1 # T1 support is not planned @pytest.mark.parametrize( diff --git a/tests/device_tests/test_msg_cardano_get_public_key.py b/tests/device_tests/test_msg_cardano_get_public_key.py index 4a656658e1..9f2910b1ad 100644 --- a/tests/device_tests/test_msg_cardano_get_public_key.py +++ b/tests/device_tests/test_msg_cardano_get_public_key.py @@ -22,6 +22,7 @@ from trezorlib.tools import parse_path from .conftest import setup_client +@pytest.mark.altcoin @pytest.mark.cardano @pytest.mark.skip_t1 # T1 support is not planned @setup_client(mnemonic=" ".join(["all"] * 12)) diff --git a/tests/device_tests/test_msg_cardano_get_public_key_shamir.py b/tests/device_tests/test_msg_cardano_get_public_key_shamir.py index 316d9f6750..14dcb19e0f 100644 --- a/tests/device_tests/test_msg_cardano_get_public_key_shamir.py +++ b/tests/device_tests/test_msg_cardano_get_public_key_shamir.py @@ -31,6 +31,7 @@ SLIP39_MNEMONIC = [ ] +@pytest.mark.altcoin @pytest.mark.cardano @pytest.mark.skip_t1 # T1 support is not planned @setup_client(mnemonic=SLIP39_MNEMONIC, passphrase=True) diff --git a/tests/device_tests/test_msg_cardano_sign_transaction.py b/tests/device_tests/test_msg_cardano_sign_transaction.py index 0808e8782e..d8950456e9 100644 --- a/tests/device_tests/test_msg_cardano_sign_transaction.py +++ b/tests/device_tests/test_msg_cardano_sign_transaction.py @@ -170,6 +170,7 @@ INVALID_VECTORS = [ ] +@pytest.mark.altcoin @pytest.mark.cardano @pytest.mark.skip_t1 # T1 support is not planned @setup_client() @@ -209,6 +210,7 @@ def test_cardano_sign_tx( assert response.tx_body.hex() == tx_body +@pytest.mark.altcoin @pytest.mark.cardano @pytest.mark.skip_t1 # T1 support is not planned @setup_client() diff --git a/tests/device_tests/test_msg_cardano_sign_tx_shamir.py b/tests/device_tests/test_msg_cardano_sign_tx_shamir.py index 6651a697c1..b3108f0266 100644 --- a/tests/device_tests/test_msg_cardano_sign_tx_shamir.py +++ b/tests/device_tests/test_msg_cardano_sign_tx_shamir.py @@ -112,6 +112,7 @@ VALID_VECTORS = [ ] +@pytest.mark.altcoin @pytest.mark.cardano @pytest.mark.skip_t1 # T1 support is not planned @setup_client(mnemonic=SHARES_20_3of6, passphrase=True) diff --git a/tests/device_tests/test_msg_eos_get_public_key.py b/tests/device_tests/test_msg_eos_get_public_key.py index 4bfc70b218..b9a58ecded 100644 --- a/tests/device_tests/test_msg_eos_get_public_key.py +++ b/tests/device_tests/test_msg_eos_get_public_key.py @@ -22,8 +22,9 @@ from trezorlib.tools import parse_path from .common import TrezorTest -@pytest.mark.skip_t1 +@pytest.mark.altcoin @pytest.mark.eos +@pytest.mark.skip_t1 class TestMsgEosGetpublickey(TrezorTest): def test_eos_get_public_key(self): self.setup_mnemonic_nopin_nopassphrase() diff --git a/tests/device_tests/test_msg_eos_signtx.py b/tests/device_tests/test_msg_eos_signtx.py index 886ebb086c..d9d23bf3e8 100644 --- a/tests/device_tests/test_msg_eos_signtx.py +++ b/tests/device_tests/test_msg_eos_signtx.py @@ -27,8 +27,9 @@ CHAIN_ID = "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f" ADDRESS_N = parse_path("m/44'/194'/0'/0/0") -@pytest.mark.skip_t1 +@pytest.mark.altcoin @pytest.mark.eos +@pytest.mark.skip_t1 class TestMsgEosSignTx(TrezorTest): def input_flow(self, pages): # confirm number of actions diff --git a/tests/device_tests/test_msg_ethereum_getaddress.py b/tests/device_tests/test_msg_ethereum_getaddress.py index 614344f707..2d34720a0b 100644 --- a/tests/device_tests/test_msg_ethereum_getaddress.py +++ b/tests/device_tests/test_msg_ethereum_getaddress.py @@ -22,6 +22,7 @@ from trezorlib.tools import H_ from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.ethereum class TestMsgEthereumGetaddress(TrezorTest): def test_ethereum_getaddress(self): diff --git a/tests/device_tests/test_msg_ethereum_getpublickey.py b/tests/device_tests/test_msg_ethereum_getpublickey.py index e45493d3a4..4be08e1c5a 100644 --- a/tests/device_tests/test_msg_ethereum_getpublickey.py +++ b/tests/device_tests/test_msg_ethereum_getpublickey.py @@ -22,6 +22,7 @@ from trezorlib.tools import H_ from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.ethereum class TestMsgEthereumGetPublicKey(TrezorTest): def test_ethereum_getpublickey(self): diff --git a/tests/device_tests/test_msg_ethereum_signmessage.py b/tests/device_tests/test_msg_ethereum_signmessage.py index 529b432dab..2345c8e7ca 100644 --- a/tests/device_tests/test_msg_ethereum_signmessage.py +++ b/tests/device_tests/test_msg_ethereum_signmessage.py @@ -22,6 +22,7 @@ from trezorlib.tools import H_ from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.ethereum class TestMsgEthereumSignmessage(TrezorTest): diff --git a/tests/device_tests/test_msg_ethereum_signtx.py b/tests/device_tests/test_msg_ethereum_signtx.py index 47f3386d75..21ac6bd760 100644 --- a/tests/device_tests/test_msg_ethereum_signtx.py +++ b/tests/device_tests/test_msg_ethereum_signtx.py @@ -24,6 +24,7 @@ from .common import TrezorTest TO_ADDR = "0x1d1c328764a41bda0492b66baa30c4a339ff85ef" +@pytest.mark.altcoin @pytest.mark.ethereum class TestMsgEthereumSigntx(TrezorTest): def test_ethereum_signtx_known_erc20_token(self): diff --git a/tests/device_tests/test_msg_ethereum_signtx_eip155.py b/tests/device_tests/test_msg_ethereum_signtx_eip155.py index 7d411407f5..f1bb3897a0 100644 --- a/tests/device_tests/test_msg_ethereum_signtx_eip155.py +++ b/tests/device_tests/test_msg_ethereum_signtx_eip155.py @@ -22,6 +22,7 @@ from trezorlib.tools import H_ from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.ethereum class TestMsgEthereumSigntxChainId(TrezorTest): def test_ethereum_signtx_eip155(self): diff --git a/tests/device_tests/test_msg_ethereum_verifymessage.py b/tests/device_tests/test_msg_ethereum_verifymessage.py index 138a856dac..48a27fb112 100644 --- a/tests/device_tests/test_msg_ethereum_verifymessage.py +++ b/tests/device_tests/test_msg_ethereum_verifymessage.py @@ -21,6 +21,7 @@ from trezorlib import ethereum from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.ethereum class TestMsgEthereumVerifymessage(TrezorTest): diff --git a/tests/device_tests/test_msg_getaddress.py b/tests/device_tests/test_msg_getaddress.py index 3002c20960..62b4d337d9 100644 --- a/tests/device_tests/test_msg_getaddress.py +++ b/tests/device_tests/test_msg_getaddress.py @@ -55,6 +55,7 @@ class TestMsgGetaddress(TrezorTest): == "1GS8X3yc7ntzwGw9vXwj9wqmBWZkTFewBV" ) + @pytest.mark.altcoin def test_ltc(self): self.setup_mnemonic_nopin_nopassphrase() assert ( @@ -85,6 +86,7 @@ class TestMsgGetaddress(TrezorTest): == "moN6aN6NP1KWgnPSqzrrRPvx2x1UtZJssa" ) + @pytest.mark.altcoin def test_bch(self): self.setup_mnemonic_allallall() assert ( @@ -100,6 +102,7 @@ class TestMsgGetaddress(TrezorTest): == "bitcoincash:qzc5q87w069lzg7g3gzx0c8dz83mn7l02scej5aluw" ) + @pytest.mark.altcoin def test_grs(self): self.setup_mnemonic_allallall() assert ( @@ -115,6 +118,7 @@ class TestMsgGetaddress(TrezorTest): == "Fmhtxeh7YdCBkyQF7AQG4QnY8y3rJg89di" ) + @pytest.mark.altcoin def test_elements(self): self.setup_mnemonic_allallall() assert ( @@ -178,6 +182,7 @@ class TestMsgGetaddress(TrezorTest): multisig=getmultisig(1, 0, xpubs=xpubs), ) + @pytest.mark.altcoin def test_bch_multisig(self): self.setup_mnemonic_allallall() xpubs = [] diff --git a/tests/device_tests/test_msg_getaddress_segwit.py b/tests/device_tests/test_msg_getaddress_segwit.py index 61670c3788..62072670c4 100644 --- a/tests/device_tests/test_msg_getaddress_segwit.py +++ b/tests/device_tests/test_msg_getaddress_segwit.py @@ -67,6 +67,10 @@ class TestMsgGetaddressSegwit(TrezorTest): ) == "mvbu1Gdy8SUjTenqerxUaZyYjmveZvt33q" ) + + @pytest.mark.altcoin + def test_show_segwit_altcoin(self): + self.setup_mnemonic_allallall() assert ( btc.get_address( self.client, diff --git a/tests/device_tests/test_msg_getaddress_segwit_native.py b/tests/device_tests/test_msg_getaddress_segwit_native.py index 13a4f24b5b..b377d9f55f 100644 --- a/tests/device_tests/test_msg_getaddress_segwit_native.py +++ b/tests/device_tests/test_msg_getaddress_segwit_native.py @@ -67,6 +67,10 @@ class TestMsgGetaddressSegwitNative(TrezorTest): ) == "mvbu1Gdy8SUjTenqerxUaZyYjmveZvt33q" ) + + @pytest.mark.altcoin + def test_show_segwit_altcoin(self): + self.setup_mnemonic_allallall() assert ( btc.get_address( self.client, diff --git a/tests/device_tests/test_msg_getpublickey.py b/tests/device_tests/test_msg_getpublickey.py index cc5236b8ea..bf8caa3d7f 100644 --- a/tests/device_tests/test_msg_getpublickey.py +++ b/tests/device_tests/test_msg_getpublickey.py @@ -70,6 +70,7 @@ class TestMsgGetpublickey(TrezorTest): == "xpub6A3FoZqQEK6iwLZ4HFkqSo5fb35BH4bpjC4SPZ63prfLdGYPwYxEuC6o91bUvFFdMzKWe5rs3axHRUjxJaSvBnKKFtnfLwDACRxPxabsv2r" ) + @pytest.mark.altcoin def test_ltc(self): self.setup_mnemonic_nopin_nopassphrase() assert ( diff --git a/tests/device_tests/test_msg_lisk_getaddress.py b/tests/device_tests/test_msg_lisk_getaddress.py index 1c1bcafa6a..911577d354 100644 --- a/tests/device_tests/test_msg_lisk_getaddress.py +++ b/tests/device_tests/test_msg_lisk_getaddress.py @@ -24,6 +24,7 @@ from .common import TrezorTest LISK_PATH = parse_path("m/44h/134h/0h/1h") +@pytest.mark.altcoin @pytest.mark.lisk class TestMsgLiskGetaddress(TrezorTest): def test_lisk_getaddress(self): diff --git a/tests/device_tests/test_msg_lisk_getpublickey.py b/tests/device_tests/test_msg_lisk_getpublickey.py index 758835668b..7a6130e865 100644 --- a/tests/device_tests/test_msg_lisk_getpublickey.py +++ b/tests/device_tests/test_msg_lisk_getpublickey.py @@ -24,6 +24,7 @@ from .common import TrezorTest LISK_PATH = parse_path("m/44h/134h/0h/0h") +@pytest.mark.altcoin @pytest.mark.lisk class TestMsgLiskGetPublicKey(TrezorTest): def test_lisk_get_public_key(self): diff --git a/tests/device_tests/test_msg_lisk_signmessage.py b/tests/device_tests/test_msg_lisk_signmessage.py index dedf960a9a..7b81b9522b 100644 --- a/tests/device_tests/test_msg_lisk_signmessage.py +++ b/tests/device_tests/test_msg_lisk_signmessage.py @@ -24,6 +24,7 @@ from .common import TrezorTest LISK_PATH = parse_path("m/44h/134h/0h/0h") +@pytest.mark.altcoin @pytest.mark.lisk class TestMsgLiskSignmessage(TrezorTest): def test_sign(self): diff --git a/tests/device_tests/test_msg_lisk_signtx.py b/tests/device_tests/test_msg_lisk_signtx.py index 601aa59280..7d0a283eee 100644 --- a/tests/device_tests/test_msg_lisk_signtx.py +++ b/tests/device_tests/test_msg_lisk_signtx.py @@ -22,6 +22,7 @@ from trezorlib.tools import parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.lisk class TestMsgLiskSignTx(TrezorTest): def test_lisk_sign_tx_send(self): diff --git a/tests/device_tests/test_msg_lisk_verifymessage.py b/tests/device_tests/test_msg_lisk_verifymessage.py index 0d4727c413..c924a7fa54 100644 --- a/tests/device_tests/test_msg_lisk_verifymessage.py +++ b/tests/device_tests/test_msg_lisk_verifymessage.py @@ -21,6 +21,7 @@ from trezorlib import lisk, messages as proto from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.lisk class TestMsgLiskVerifymessage(TrezorTest): def test_verify(self): diff --git a/tests/device_tests/test_msg_monero_getaddress.py b/tests/device_tests/test_msg_monero_getaddress.py index 36e3e955cf..81e605bc8c 100644 --- a/tests/device_tests/test_msg_monero_getaddress.py +++ b/tests/device_tests/test_msg_monero_getaddress.py @@ -22,6 +22,7 @@ from trezorlib.tools import parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.monero @pytest.mark.skip_t1 class TestMsgMoneroGetaddress(TrezorTest): diff --git a/tests/device_tests/test_msg_monero_getwatchkey.py b/tests/device_tests/test_msg_monero_getwatchkey.py index c58883c05a..25c3448f2a 100644 --- a/tests/device_tests/test_msg_monero_getwatchkey.py +++ b/tests/device_tests/test_msg_monero_getwatchkey.py @@ -22,6 +22,7 @@ from trezorlib.tools import parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.monero @pytest.mark.skip_t1 class TestMsgMoneroGetwatchkey(TrezorTest): diff --git a/tests/device_tests/test_msg_nem_getaddress.py b/tests/device_tests/test_msg_nem_getaddress.py index 0f0942f85c..6875469be2 100644 --- a/tests/device_tests/test_msg_nem_getaddress.py +++ b/tests/device_tests/test_msg_nem_getaddress.py @@ -22,6 +22,7 @@ from trezorlib.tools import parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.nem class TestMsgNEMGetaddress(TrezorTest): def test_nem_getaddress(self): diff --git a/tests/device_tests/test_msg_nem_signtx_mosaics.py b/tests/device_tests/test_msg_nem_signtx_mosaics.py index 2208d2b901..a80d6e625c 100644 --- a/tests/device_tests/test_msg_nem_signtx_mosaics.py +++ b/tests/device_tests/test_msg_nem_signtx_mosaics.py @@ -23,6 +23,7 @@ from .common import TrezorTest # assertion data from T1 +@pytest.mark.altcoin @pytest.mark.nem @pytest.mark.skip_t2 class TestMsgNEMSignTxMosaics(TrezorTest): diff --git a/tests/device_tests/test_msg_nem_signtx_mosaics_t2.py b/tests/device_tests/test_msg_nem_signtx_mosaics_t2.py index 5089a4a860..6b4754b26e 100644 --- a/tests/device_tests/test_msg_nem_signtx_mosaics_t2.py +++ b/tests/device_tests/test_msg_nem_signtx_mosaics_t2.py @@ -25,6 +25,7 @@ from .common import TrezorTest # assertion data from T1 +@pytest.mark.altcoin @pytest.mark.nem @pytest.mark.skip_t1 class TestMsgNEMSignTxMosaics(TrezorTest): diff --git a/tests/device_tests/test_msg_nem_signtx_multisig.py b/tests/device_tests/test_msg_nem_signtx_multisig.py index a24f59642d..f3fe2900a3 100644 --- a/tests/device_tests/test_msg_nem_signtx_multisig.py +++ b/tests/device_tests/test_msg_nem_signtx_multisig.py @@ -23,6 +23,7 @@ from .common import TrezorTest # assertion data from T1 +@pytest.mark.altcoin @pytest.mark.nem class TestMsgNEMSignTxMultisig(TrezorTest): def test_nem_signtx_aggregate_modification(self): diff --git a/tests/device_tests/test_msg_nem_signtx_others.py b/tests/device_tests/test_msg_nem_signtx_others.py index a7694a8aa2..38d50d8f60 100644 --- a/tests/device_tests/test_msg_nem_signtx_others.py +++ b/tests/device_tests/test_msg_nem_signtx_others.py @@ -23,6 +23,7 @@ from .common import TrezorTest # assertion data from T1 +@pytest.mark.altcoin @pytest.mark.nem class TestMsgNEMSignTxOther(TrezorTest): def test_nem_signtx_importance_transfer(self): diff --git a/tests/device_tests/test_msg_nem_signtx_transfers.py b/tests/device_tests/test_msg_nem_signtx_transfers.py index 61231539da..1493a7f45a 100644 --- a/tests/device_tests/test_msg_nem_signtx_transfers.py +++ b/tests/device_tests/test_msg_nem_signtx_transfers.py @@ -23,6 +23,7 @@ from .common import TrezorTest # assertion data from T1 +@pytest.mark.altcoin @pytest.mark.nem class TestMsgNEMSignTx(TrezorTest): def test_nem_signtx_simple(self): diff --git a/tests/device_tests/test_msg_ripple_get_address.py b/tests/device_tests/test_msg_ripple_get_address.py index d5cf762d96..0ad203db9b 100644 --- a/tests/device_tests/test_msg_ripple_get_address.py +++ b/tests/device_tests/test_msg_ripple_get_address.py @@ -23,6 +23,7 @@ from trezorlib.tools import parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.ripple @pytest.mark.skip_t1 # T1 support is not planned class TestMsgRippleGetAddress(TrezorTest): diff --git a/tests/device_tests/test_msg_ripple_sign_tx.py b/tests/device_tests/test_msg_ripple_sign_tx.py index 03033bcb57..19028adaa2 100644 --- a/tests/device_tests/test_msg_ripple_sign_tx.py +++ b/tests/device_tests/test_msg_ripple_sign_tx.py @@ -22,6 +22,7 @@ from trezorlib.tools import CallException, parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.ripple @pytest.mark.skip_t1 # T1 support is not planned class TestMsgRippleSignTx(TrezorTest): diff --git a/tests/device_tests/test_msg_signmessage.py b/tests/device_tests/test_msg_signmessage.py index b598802e6e..8406c9a0ef 100644 --- a/tests/device_tests/test_msg_signmessage.py +++ b/tests/device_tests/test_msg_signmessage.py @@ -45,6 +45,7 @@ class TestMsgSignmessage(TrezorTest): == "209e23edf0e4e47ff1dec27f32cd78c50e74ef018ee8a6adf35ae17c7a9b0dd96f48b493fd7dbab03efb6f439c6383c9523b3bbc5f1a7d158a6af90ab154e9be80" ) + @pytest.mark.altcoin def test_sign_bch(self): self.setup_mnemonic_nopin_nopassphrase() sig = btc.sign_message( @@ -56,6 +57,7 @@ class TestMsgSignmessage(TrezorTest): == "209e23edf0e4e47ff1dec27f32cd78c50e74ef018ee8a6adf35ae17c7a9b0dd96f48b493fd7dbab03efb6f439c6383c9523b3bbc5f1a7d158a6af90ab154e9be80" ) + @pytest.mark.altcoin def test_sign_grs(self): self.setup_mnemonic_allallall() sig = btc.sign_message( diff --git a/tests/device_tests/test_msg_signmessage_decred.py b/tests/device_tests/test_msg_signmessage_decred.py index 6cf230f313..298e7bbb11 100644 --- a/tests/device_tests/test_msg_signmessage_decred.py +++ b/tests/device_tests/test_msg_signmessage_decred.py @@ -22,6 +22,7 @@ from trezorlib.tools import parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.decred class TestMsgSignmessageDecred(TrezorTest): def test_sign_mainnet(self): diff --git a/tests/device_tests/test_msg_signmessage_segwit.py b/tests/device_tests/test_msg_signmessage_segwit.py index 10a8b7af48..817152bee1 100644 --- a/tests/device_tests/test_msg_signmessage_segwit.py +++ b/tests/device_tests/test_msg_signmessage_segwit.py @@ -53,6 +53,7 @@ class TestMsgSignmessageSegwit(TrezorTest): == "249e23edf0e4e47ff1dec27f32cd78c50e74ef018ee8a6adf35ae17c7a9b0dd96f48b493fd7dbab03efb6f439c6383c9523b3bbc5f1a7d158a6af90ab154e9be80" ) + @pytest.mark.altcoin def test_sign_grs(self): self.setup_mnemonic_allallall() sig = btc.sign_message( diff --git a/tests/device_tests/test_msg_signmessage_segwit_native.py b/tests/device_tests/test_msg_signmessage_segwit_native.py index ac09bc3c9c..f48190ed56 100644 --- a/tests/device_tests/test_msg_signmessage_segwit_native.py +++ b/tests/device_tests/test_msg_signmessage_segwit_native.py @@ -53,6 +53,7 @@ class TestMsgSignmessageSegwitNative(TrezorTest): == "289e23edf0e4e47ff1dec27f32cd78c50e74ef018ee8a6adf35ae17c7a9b0dd96f48b493fd7dbab03efb6f439c6383c9523b3bbc5f1a7d158a6af90ab154e9be80" ) + @pytest.mark.altcoin def test_sign_grs(self): self.setup_mnemonic_allallall() sig = btc.sign_message( diff --git a/tests/device_tests/test_msg_signtx_bcash.py b/tests/device_tests/test_msg_signtx_bcash.py index 54a6cc0145..3a27ec3a2d 100644 --- a/tests/device_tests/test_msg_signtx_bcash.py +++ b/tests/device_tests/test_msg_signtx_bcash.py @@ -25,6 +25,7 @@ from .tx_cache import tx_cache TX_API = tx_cache("Bcash") +@pytest.mark.altcoin class TestMsgSigntxBch(TrezorTest): def test_send_bch_change(self): self.setup_mnemonic_allallall() diff --git a/tests/device_tests/test_msg_signtx_bgold.py b/tests/device_tests/test_msg_signtx_bgold.py index f71de155a4..f87f4cc07e 100644 --- a/tests/device_tests/test_msg_signtx_bgold.py +++ b/tests/device_tests/test_msg_signtx_bgold.py @@ -26,6 +26,7 @@ TX_API = tx_cache("Bgold") # All data taken from T1 +@pytest.mark.altcoin class TestMsgSigntxBitcoinGold(TrezorTest): def test_send_bitcoin_gold_change(self): self.setup_mnemonic_allallall() diff --git a/tests/device_tests/test_msg_signtx_dash.py b/tests/device_tests/test_msg_signtx_dash.py index bd169fe63b..76a359ad0e 100644 --- a/tests/device_tests/test_msg_signtx_dash.py +++ b/tests/device_tests/test_msg_signtx_dash.py @@ -23,6 +23,7 @@ from .tx_cache import tx_cache TX_API = tx_cache("Dash") +@pytest.mark.altcoin class TestMsgSigntxDash(TrezorTest): def test_send_dash(self): self.setup_mnemonic_allallall() diff --git a/tests/device_tests/test_msg_signtx_decred.py b/tests/device_tests/test_msg_signtx_decred.py index 13c234b0fc..9b24e24439 100644 --- a/tests/device_tests/test_msg_signtx_decred.py +++ b/tests/device_tests/test_msg_signtx_decred.py @@ -45,6 +45,7 @@ TXHASH_16da18 = bytes.fromhex( ) +@pytest.mark.altcoin @pytest.mark.decred class TestMsgSigntxDecred(TrezorTest): def test_send_decred(self): diff --git a/tests/device_tests/test_msg_signtx_grs.py b/tests/device_tests/test_msg_signtx_grs.py index 687c576aba..19eb86a1a0 100644 --- a/tests/device_tests/test_msg_signtx_grs.py +++ b/tests/device_tests/test_msg_signtx_grs.py @@ -23,6 +23,7 @@ from .tx_cache import tx_cache TX_API = tx_cache("Groestlcoin") +@pytest.mark.altcoin class TestMsgSigntxGRS(TrezorTest): def test_legacy(self): # http://blockbook.groestlcoin.org/tx/f56521b17b828897f72b30dd21b0192fd942342e89acbb06abf1d446282c30f5 diff --git a/tests/device_tests/test_msg_signtx_komodo.py b/tests/device_tests/test_msg_signtx_komodo.py index 9fa6b2cf60..ef8d31eb0f 100644 --- a/tests/device_tests/test_msg_signtx_komodo.py +++ b/tests/device_tests/test_msg_signtx_komodo.py @@ -34,6 +34,7 @@ TXHASH_7b28bd = bytes.fromhex( ) +@pytest.mark.altcoin @pytest.mark.komodo class TestMsgSigntxKomodo(TrezorTest): def test_one_one_fee_sapling(self): diff --git a/tests/device_tests/test_msg_signtx_zcash.py b/tests/device_tests/test_msg_signtx_zcash.py index 7d9f8c33ee..bb206fdcf4 100644 --- a/tests/device_tests/test_msg_signtx_zcash.py +++ b/tests/device_tests/test_msg_signtx_zcash.py @@ -32,6 +32,7 @@ TXHASH_e38206 = bytes.fromhex( ) +@pytest.mark.altcoin @pytest.mark.zcash class TestMsgSigntxZcash(TrezorTest): def test_one_one_fee_overwinter(self): diff --git a/tests/device_tests/test_msg_stellar_get_address.py b/tests/device_tests/test_msg_stellar_get_address.py index 442a795ebd..fe159d6644 100644 --- a/tests/device_tests/test_msg_stellar_get_address.py +++ b/tests/device_tests/test_msg_stellar_get_address.py @@ -23,6 +23,7 @@ from .common import TrezorTest from .conftest import TREZOR_VERSION +@pytest.mark.altcoin @pytest.mark.stellar class TestMsgStellarGetAddress(TrezorTest): def test_stellar_get_address(self): diff --git a/tests/device_tests/test_msg_stellar_sign_transaction.py b/tests/device_tests/test_msg_stellar_sign_transaction.py index 7b8ddcd397..3fd5c2ddbd 100644 --- a/tests/device_tests/test_msg_stellar_sign_transaction.py +++ b/tests/device_tests/test_msg_stellar_sign_transaction.py @@ -56,6 +56,7 @@ from trezorlib.tools import parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.stellar class TestMsgStellarSignTransaction(TrezorTest): diff --git a/tests/device_tests/test_msg_tezos_getaddress.py b/tests/device_tests/test_msg_tezos_getaddress.py index b8622059b8..f73a193a26 100644 --- a/tests/device_tests/test_msg_tezos_getaddress.py +++ b/tests/device_tests/test_msg_tezos_getaddress.py @@ -22,6 +22,7 @@ from trezorlib.tools import parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.tezos @pytest.mark.skip_t1 class TestMsgTezosGetAddress(TrezorTest): diff --git a/tests/device_tests/test_msg_tezos_getpublickey.py b/tests/device_tests/test_msg_tezos_getpublickey.py index c05365ea5d..a822b68fa3 100644 --- a/tests/device_tests/test_msg_tezos_getpublickey.py +++ b/tests/device_tests/test_msg_tezos_getpublickey.py @@ -22,6 +22,7 @@ from trezorlib.tools import parse_path from .common import TrezorTest +@pytest.mark.altcoin @pytest.mark.tezos @pytest.mark.skip_t1 class TestMsgTezosGetPublicKey(TrezorTest): diff --git a/tests/device_tests/test_msg_tezos_sign_tx.py b/tests/device_tests/test_msg_tezos_sign_tx.py index dcc9054e44..e56844ea53 100644 --- a/tests/device_tests/test_msg_tezos_sign_tx.py +++ b/tests/device_tests/test_msg_tezos_sign_tx.py @@ -27,6 +27,7 @@ TEZOS_PATH = parse_path("m/44'/1729'/0'") TEZOS_PATH_10 = parse_path("m/44'/1729'/10'") +@pytest.mark.altcoin @pytest.mark.tezos @pytest.mark.skip_t1 class TestMsgTezosSignTx(TrezorTest): diff --git a/tests/device_tests/test_msg_verifymessage.py b/tests/device_tests/test_msg_verifymessage.py index 25ec0aa3fd..d20bdd5291 100644 --- a/tests/device_tests/test_msg_verifymessage.py +++ b/tests/device_tests/test_msg_verifymessage.py @@ -48,6 +48,7 @@ class TestMsgVerifymessage(TrezorTest): ) assert ret is True + @pytest.mark.altcoin def test_message_grs(self): self.setup_mnemonic_allallall() ret = btc.verify_message( @@ -172,6 +173,7 @@ class TestMsgVerifymessage(TrezorTest): ) assert res is False + @pytest.mark.altcoin def test_message_verify_bcash(self): self.setup_mnemonic_nopin_nopassphrase() res = btc.verify_message(