blob: d99a0e33fedd2f59586ee8658c2146041f2140d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/env python
# pylint: disable=missing-docstring
import os
import sys
import pkg_resources
ENV_FILE = '/var/lib/xtesting/conf/env_file'
XTESTING_PATHES = [
"~/.xtesting", "/etc/xtesting", os.path.join(sys.prefix + "/etc/xtesting")]
TESTCASE_DESCRIPTION = 'testcases.yaml'
TESTCASE_DESCRIPTION_DEFAULT = pkg_resources.resource_filename(
'xtesting', f'ci/{TESTCASE_DESCRIPTION}')
RESULTS_DIR = '/var/lib/xtesting/results'
LOG_PATH = os.path.join(RESULTS_DIR, 'xtesting.log')
DEBUG_LOG_PATH = os.path.join(RESULTS_DIR, 'xtesting.debug.log')
INI_PATH_DEFAULT = pkg_resources.resource_filename(
'xtesting', 'ci/logging.ini')
DEBUG_INI_PATH_DEFAULT = pkg_resources.resource_filename(
'xtesting', 'ci/logging.debug.ini')
|