Update unittest temporary file directory location and gnupghome.

feature/documentation-builds-html
Isis Lovecruft 2013-04-10 16:55:29 +00:00
parent c5d2e6fc9d
commit c72aa1eb96
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 2 additions and 3 deletions

View File

@ -27,11 +27,10 @@ __author__ = gnupg.__author__
__date__ = gnupg.__date__ __date__ = gnupg.__date__
__version__ = gnupg.__version__ __version__ = gnupg.__version__
ALL_TESTS = True
REPO_DIR = os.getcwd() REPO_DIR = os.getcwd()
TEST_DIR = os.path.join(REPO_DIR, 'keys') HOME_DIR = os.path.join(REPO_DIR, 'keys')
tempfile.tempdir = os.path.join(REPO_DIR, 'temp') tempfile.tempdir = os.path.join(REPO_DIR, 'tmp_test')
if not os.path.isdir(tempfile.gettempdir()): if not os.path.isdir(tempfile.gettempdir()):
os.mkdir(tempfile.gettempdir()) os.mkdir(tempfile.gettempdir())