From c9f92317cf20465987ff187733dd620e8d1fdc4f Mon Sep 17 00:00:00 2001 From: Vincent Danno Date: Tue, 18 May 2021 21:17:41 +0200 Subject: Use constants instead of hard-coding paths This complements https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/72495 which missed one occurence due to trailing slash difference. Signed-off-by: Vincent Danno Change-Id: Iabfa89161cc099c924a7609aeb4ef6ed1b027cd3 --- xtesting/utils/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtesting/utils') diff --git a/xtesting/utils/constants.py b/xtesting/utils/constants.py index 7677f2e5..acd0d31d 100644 --- a/xtesting/utils/constants.py +++ b/xtesting/utils/constants.py @@ -6,7 +6,7 @@ import os ENV_FILE = '/var/lib/xtesting/conf/env_file' -RESULTS_DIR = '/var/lib/xtesting/results/' +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') -- cgit 1.2.3-korg