From 84abde1f79daf9c6c2681508f7ba7dc940036a5b Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 22 Aug 2019 18:55:20 +0200 Subject: [PATCH] tests: add import pytest where required --- tests/device_tests/test_msg_getaddress_segwit.py | 2 ++ tests/device_tests/test_msg_getaddress_segwit_native.py | 2 ++ tests/device_tests/test_msg_getpublickey.py | 2 ++ tests/device_tests/test_msg_signmessage.py | 2 ++ tests/device_tests/test_msg_signmessage_segwit.py | 2 ++ tests/device_tests/test_msg_signmessage_segwit_native.py | 2 ++ tests/device_tests/test_msg_signtx_dash.py | 2 ++ tests/device_tests/test_msg_signtx_grs.py | 2 ++ tests/device_tests/test_msg_verifymessage.py | 2 ++ 9 files changed, 18 insertions(+) diff --git a/tests/device_tests/test_msg_getaddress_segwit.py b/tests/device_tests/test_msg_getaddress_segwit.py index 62072670c4..a03ea18a9f 100644 --- a/tests/device_tests/test_msg_getaddress_segwit.py +++ b/tests/device_tests/test_msg_getaddress_segwit.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.tools import parse_path diff --git a/tests/device_tests/test_msg_getaddress_segwit_native.py b/tests/device_tests/test_msg_getaddress_segwit_native.py index b377d9f55f..7a2b843d8d 100644 --- a/tests/device_tests/test_msg_getaddress_segwit_native.py +++ b/tests/device_tests/test_msg_getaddress_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.tools import parse_path diff --git a/tests/device_tests/test_msg_getpublickey.py b/tests/device_tests/test_msg_getpublickey.py index bf8caa3d7f..0dea18faa1 100644 --- a/tests/device_tests/test_msg_getpublickey.py +++ b/tests/device_tests/test_msg_getpublickey.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, ckd_public as bip32, messages as proto from trezorlib.tools import H_ diff --git a/tests/device_tests/test_msg_signmessage.py b/tests/device_tests/test_msg_signmessage.py index 8406c9a0ef..536144102e 100644 --- a/tests/device_tests/test_msg_signmessage.py +++ b/tests/device_tests/test_msg_signmessage.py @@ -16,6 +16,8 @@ import base64 +import pytest + from trezorlib import btc from trezorlib.tools import parse_path diff --git a/tests/device_tests/test_msg_signmessage_segwit.py b/tests/device_tests/test_msg_signmessage_segwit.py index 817152bee1..0979596306 100644 --- a/tests/device_tests/test_msg_signmessage_segwit.py +++ b/tests/device_tests/test_msg_signmessage_segwit.py @@ -16,6 +16,8 @@ import base64 +import pytest + from trezorlib import btc, messages as proto from trezorlib.tools import parse_path diff --git a/tests/device_tests/test_msg_signmessage_segwit_native.py b/tests/device_tests/test_msg_signmessage_segwit_native.py index f48190ed56..4e553c23df 100644 --- a/tests/device_tests/test_msg_signmessage_segwit_native.py +++ b/tests/device_tests/test_msg_signmessage_segwit_native.py @@ -16,6 +16,8 @@ import base64 +import pytest + from trezorlib import btc, messages as proto from trezorlib.tools import parse_path diff --git a/tests/device_tests/test_msg_signtx_dash.py b/tests/device_tests/test_msg_signtx_dash.py index 76a359ad0e..4c01a11432 100644 --- a/tests/device_tests/test_msg_signtx_dash.py +++ b/tests/device_tests/test_msg_signtx_dash.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.tools import parse_path diff --git a/tests/device_tests/test_msg_signtx_grs.py b/tests/device_tests/test_msg_signtx_grs.py index 19eb86a1a0..ae97b45415 100644 --- a/tests/device_tests/test_msg_signtx_grs.py +++ b/tests/device_tests/test_msg_signtx_grs.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.tools import parse_path diff --git a/tests/device_tests/test_msg_verifymessage.py b/tests/device_tests/test_msg_verifymessage.py index d20bdd5291..f02d1ac6e5 100644 --- a/tests/device_tests/test_msg_verifymessage.py +++ b/tests/device_tests/test_msg_verifymessage.py @@ -16,6 +16,8 @@ import base64 +import pytest + from trezorlib import btc from .common import TrezorTest