mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +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 unittest
|
||||||
import hashlib
|
import hashlib
|
||||||
|
import os
|
||||||
|
|
||||||
from trezorlib.client import TrezorClient, TrezorClientDebugLink
|
from trezorlib.client import TrezorClient, TrezorClientDebugLink
|
||||||
from trezorlib import tx_api
|
from trezorlib import tx_api
|
||||||
|
|
||||||
|
tests_dir = os.path.dirname(os.path.abspath(__file__))
|
||||||
tx_api.cache_dir = '../txcache'
|
tx_api.cache_dir = os.path.join(tests_dir, '../txcache')
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user