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
1 changed files with 3 additions and 2 deletions

View File

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