aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/PapiExecutor.py
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-02-26 15:46:02 +0100
committerVratko Polak <vrpolak@cisco.com>2019-03-04 14:16:44 +0000
commitda799981f5373b09398319df12e77e2efc75caa6 (patch)
treec8e8fd77fe0ecf2fca6833c3bd21bcee30f70873 /resources/libraries/python/PapiExecutor.py
parent89e6be275715aefa8473835eb78eed309f37f2ee (diff)
Rename to Constants.py
Motivation: Make the constants available also for Robot. Restraint: Robotframework user guide says: Because variable files are always imported using a file system path, creating them as classes has some restrictions: Python classes must have the same name as the module they are located. Change-Id: I638ef3fe045db132e366de2e2699638b8637e45e Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/PapiExecutor.py')
-rw-r--r--resources/libraries/python/PapiExecutor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/PapiExecutor.py b/resources/libraries/python/PapiExecutor.py
index 75bdde0ddf..ad0de27b82 100644
--- a/resources/libraries/python/PapiExecutor.py
+++ b/resources/libraries/python/PapiExecutor.py
@@ -19,7 +19,7 @@ import json
from paramiko.ssh_exception import SSHException
from robot.api import logger
-from resources.libraries.python.constants import Constants
+from resources.libraries.python.Constants import Constants
from resources.libraries.python.PapiErrors import PapiInitError, \
PapiJsonFileError, PapiCommandError, PapiCommandInputError
# TODO: from resources.libraries.python.PapiHistory import PapiHistory