diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-02-26 15:46:02 +0100 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-03-04 14:16:44 +0000 |
commit | da799981f5373b09398319df12e77e2efc75caa6 (patch) | |
tree | c8e8fd77fe0ecf2fca6833c3bd21bcee30f70873 /resources/libraries/python/SFC | |
parent | 89e6be275715aefa8473835eb78eed309f37f2ee (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/SFC')
-rw-r--r-- | resources/libraries/python/SFC/SFCTest.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/SFC/SetupSFCTest.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/SFC/SFCTest.py b/resources/libraries/python/SFC/SFCTest.py index d4f77baa52..3794d3a2a1 100644 --- a/resources/libraries/python/SFC/SFCTest.py +++ b/resources/libraries/python/SFC/SFCTest.py @@ -17,7 +17,7 @@ the NSH SFC functional test. """ from resources.libraries.python.ssh import SSH -from resources.libraries.python.constants import Constants as con +from resources.libraries.python.Constants import Constants as con from resources.libraries.python.topology import Topology diff --git a/resources/libraries/python/SFC/SetupSFCTest.py b/resources/libraries/python/SFC/SetupSFCTest.py index 0ba197115d..7daf49c82d 100644 --- a/resources/libraries/python/SFC/SetupSFCTest.py +++ b/resources/libraries/python/SFC/SetupSFCTest.py @@ -26,7 +26,7 @@ from robot.api import logger from robot.libraries.BuiltIn import BuiltIn from resources.libraries.python.ssh import SSH -from resources.libraries.python.constants import Constants as con +from resources.libraries.python.Constants import Constants as con from resources.libraries.python.topology import NodeType from resources.libraries.python.topology import Topology |