config: use filenames that end in .py

They are Python files, changing their file extension is a bad idea.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-10-20 00:18:08 +02:00
parent 2258ecfd45
commit 8362b93734
4 changed files with 26 additions and 26 deletions

View File

@ -132,7 +132,7 @@ pipeline {
if (params.TEST_SCOPE != "") {
cmd = cmd + " -m ${params.TEST_SCOPE}"
}
sh "cp -f ./configs/_local.py.ci ./configs/_local.py"
dir ('configs') { sh 'ln -s _local.ci.py _local.py' }
withCredentials([
usernamePassword(
credentialsId: 'test-rail-api-devops',

View File

@ -10,8 +10,8 @@ try:
except ImportError:
exit(
'Config file: "_local.py" not found in "./configs".\n'
'Please use template "_.local.py.default" to create file or execute command: \n'
rf'cp {testpath.ROOT}/configs/_local.py.default {testpath.ROOT}/configs/_local.py'
'Please use template "_.local.default.py" to create file or execute command: \n'
rf'cp {testpath.ROOT}/configs/_local.default.py {testpath.ROOT}/configs/_local.py'
)
if APP_DIR is None: