This commit is contained in:
Lukas Klass 2020-09-09 17:12:20 +02:00
parent ed951bc645
commit 858b5fdf1f
2 changed files with 1 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -24,6 +24,7 @@ pipeline {
''' '''
// run tests // run tests
sh ''' sh '''
ls tests/data/strayLight
export PYTHONPATH=`pwd` export PYTHONPATH=`pwd`
venv/bin/python3 -m unittest discover ${TEST_DIR} venv/bin/python3 -m unittest discover ${TEST_DIR}
''' '''

View File

@ -140,7 +140,6 @@ class Entry(object):
""" """
if not hasattr(self, name): if not hasattr(self, name):
return "Parameter '" + name + "' not found." return "Parameter '" + name + "' not found."
print(os.getcwd())
if not os.path.isfile(getattr(self, name)): if not os.path.isfile(getattr(self, name)):
return "File '" + getattr(self, name) + "' does not exist." return "File '" + getattr(self, name) + "' does not exist."