mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
tests: use stdlib mock instead of the third-party one
This commit is contained in:
parent
a5abd70619
commit
fc7a76e2f3
@ -1,7 +1,6 @@
|
||||
-r requirements.txt
|
||||
-r requirements-optional.txt
|
||||
pytest>=3.2.5
|
||||
mock>=2.0.0
|
||||
flake8
|
||||
protobuf
|
||||
isort
|
||||
|
@ -33,4 +33,4 @@ line_length = 88
|
||||
not_skip=__init__.py
|
||||
known_first_party=trezorlib
|
||||
known_third_party=hidapi, rlp, ethjsonrpc, ecdsa, mnemonic, requests, click, pyblake2, \
|
||||
usb, construct, pytest, mock
|
||||
usb, construct, pytest
|
||||
|
@ -14,7 +14,7 @@
|
||||
# You should have received a copy of the License along with this library.
|
||||
# If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from trezorlib.transport import all_transports
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user