Fix test writing to wrong test dir directory

This commit is contained in:
Kevin F 2022-09-27 19:08:58 +00:00
parent 5ae5897703
commit 015a072b0b

View File

@ -3,7 +3,7 @@ import os
from subprocess import Popen, PIPE
import uuid
TEST_DIR = 'testdata/%s-%s' % (uuid.uuid4(), os.path.basename(__file__)) + '/'
TEST_DIR = '../testdata/%s-%s' % (uuid.uuid4(), os.path.basename(__file__)) + '/'
os.environ["ONIONR_HOME"] = TEST_DIR
print(f'running integration test for {__file__}')