mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
device_tests: Fix tx_api.cache_dir
This commit is contained in:
parent
753e91dff0
commit
34a8b90067
@ -20,12 +20,13 @@ from __future__ import print_function
|
||||
|
||||
import unittest
|
||||
import hashlib
|
||||
import os
|
||||
|
||||
from trezorlib.client import TrezorClient, TrezorClientDebugLink
|
||||
from trezorlib import tx_api
|
||||
|
||||
|
||||
tx_api.cache_dir = '../txcache'
|
||||
tests_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
tx_api.cache_dir = os.path.join(tests_dir, '../txcache')
|
||||
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user