3 # Copyright (c) 2019 Orange and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # pylint: disable=missing-docstring
17 ENV_FILE = '/var/lib/xtesting/conf/env_file'
20 "~/.xtesting", "/etc/xtesting", os.path.join(sys.prefix + "/etc/xtesting")]
22 TESTCASE_DESCRIPTION = 'testcases.yaml'
23 TESTCASE_DESCRIPTION_DEFAULT = pkg_resources.resource_filename(
24 'xtesting', f'ci/{TESTCASE_DESCRIPTION}')
26 RESULTS_DIR = '/var/lib/xtesting/results'
27 LOG_PATH = os.path.join(RESULTS_DIR, 'xtesting.log')
28 DEBUG_LOG_PATH = os.path.join(RESULTS_DIR, 'xtesting.debug.log')
30 INI_PATH_DEFAULT = pkg_resources.resource_filename(
31 'xtesting', 'ci/logging.ini')
32 DEBUG_INI_PATH_DEFAULT = pkg_resources.resource_filename(
33 'xtesting', 'ci/logging.debug.ini')