aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/tests/unit/core/test_feature.py
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/tests/unit/core/test_feature.py')
-rw-r--r--xtesting/tests/unit/core/test_feature.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/xtesting/tests/unit/core/test_feature.py b/xtesting/tests/unit/core/test_feature.py
index 785f6e16..ab483b27 100644
--- a/xtesting/tests/unit/core/test_feature.py
+++ b/xtesting/tests/unit/core/test_feature.py
@@ -9,6 +9,8 @@
# pylint: disable=missing-docstring
+import os
+
import logging
import subprocess
import unittest
@@ -18,6 +20,7 @@ import six
from xtesting.core import feature
from xtesting.core import testcase
+from xtesting.utils import constants
class FakeTestCase(feature.Feature):
@@ -40,7 +43,7 @@ class FeatureTestingBase(unittest.TestCase):
_project_name = "bar"
_repo = "dir_repo_bar"
_cmd = "run_bar_tests.py"
- _output_file = '/var/lib/xtesting/results/foo/foo.log'
+ _output_file = os.path.join(constants.RESULTS_DIR, 'foo/foo.log')
feature = None
@mock.patch('time.time', side_effect=[1, 2])