Skip to content

Commit 8b25610

Browse files
committed
Make utests more independent on interpreter during atest run
1 parent 57035bf commit 8b25610

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utest/api/test_run_and_rebot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
import tempfile
77
import signal
88
import logging
9-
from os.path import abspath, dirname, join, exists, curdir
10-
from os import chdir
9+
from os.path import abspath, curdir, dirname, exists, join
10+
from os import chdir, getenv
1111

1212
from robot import run, run_cli, rebot, rebot_cli
1313
from robot.model import SuiteVisitor
@@ -20,7 +20,7 @@
2020

2121

2222
ROOT = dirname(dirname(dirname(abspath(__file__))))
23-
TEMP = tempfile.gettempdir()
23+
TEMP = getenv('TEMPDIR', tempfile.gettempdir())
2424
OUTPUT_PATH = join(TEMP, 'output.xml')
2525
REPORT_PATH = join(TEMP, 'report.html')
2626
LOG_PATH = join(TEMP, 'log.html')

0 commit comments

Comments
 (0)