1
0
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:
Saleem Rashid 2017-12-19 09:11:35 +00:00 committed by Pavol Rusnak
parent 753e91dff0
commit 34a8b90067

View File

@ -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: