1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-02 02:41:28 +00:00

device_tests: add more currency markers

missed Stellar tests, plus Ethereum, for good measure
This commit is contained in:
matejcik 2018-05-21 18:30:00 +02:00 committed by matejcik
parent af98a4071a
commit 465c01d4f7
6 changed files with 8 additions and 0 deletions

View File

@ -15,10 +15,12 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library. If not, see <http://www.gnu.org/licenses/>.
import pytest
from .common import *
@pytest.mark.ethereum
class TestMsgEthereumGetaddress(TrezorTest):
def test_ethereum_getaddress(self):

View File

@ -18,6 +18,7 @@
from .common import *
@pytest.mark.ethereum
@pytest.mark.skip_t2
class TestMsgEthereumSignmessage(TrezorTest):

View File

@ -15,11 +15,13 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with this library. If not, see <http://www.gnu.org/licenses/>.
import pytest
from .common import *
from trezorlib import messages as proto
@pytest.mark.ethereum
class TestMsgEthereumSigntx(TrezorTest):
def test_ethereum_signtx_known_erc20_token(self):

View File

@ -18,6 +18,7 @@
from .common import *
@pytest.mark.ethereum
@pytest.mark.skip_t2
class TestMsgEthereumVerifymessage(TrezorTest):

View File

@ -19,6 +19,7 @@ from binascii import hexlify
import pytest
@pytest.mark.stellar
@pytest.mark.xfail(TREZOR_VERSION == 2, reason="T2 support is not yet finished")
class TestMsgStellarSignMessage(TrezorTest):

View File

@ -21,6 +21,7 @@ from trezorlib.client import CallException
import pytest
@pytest.mark.stellar
@pytest.mark.xfail(TREZOR_VERSION == 2, reason="T2 support is not yet finished")
class TestMsgStellarVerifyMessage(TrezorTest):