1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-09 15:00:58 +00:00

tests: use stdlib mock instead of the third-party one

This commit is contained in:
matejcik 2018-10-02 16:58:50 +02:00
parent a5abd70619
commit fc7a76e2f3
3 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
-r requirements.txt -r requirements.txt
-r requirements-optional.txt -r requirements-optional.txt
pytest>=3.2.5 pytest>=3.2.5
mock>=2.0.0
flake8 flake8
protobuf protobuf
isort isort

View File

@ -33,4 +33,4 @@ line_length = 88
not_skip=__init__.py not_skip=__init__.py
known_first_party=trezorlib known_first_party=trezorlib
known_third_party=hidapi, rlp, ethjsonrpc, ecdsa, mnemonic, requests, click, pyblake2, \ known_third_party=hidapi, rlp, ethjsonrpc, ecdsa, mnemonic, requests, click, pyblake2, \
usb, construct, pytest, mock usb, construct, pytest

View File

@ -14,7 +14,7 @@
# You should have received a copy of the License along with this library. # 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>. # If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
import mock from unittest import mock
from trezorlib.transport import all_transports from trezorlib.transport import all_transports