diff options
author | Joanna Jeremicz <joanna.jeremicz@nokia.com> | 2021-02-16 09:34:13 +0100 |
---|---|---|
committer | Joanna Jeremicz <joanna.jeremicz@nokia.com> | 2021-03-02 07:59:49 +0100 |
commit | 59bad158d7dd96c157fb9387db2de8ecb9214914 (patch) | |
tree | 66fbb51f482b7b762f27ae55995f6c1413c3222e /tests/dcaegen2-pmmapper/files-processing-config-pmmapper/libraries/EnvsReader.py | |
parent | 5576a927ee2999f6bfa48219941c5c16693a9967 (diff) |
Add CSITs for Pm-mapper files processing performance
Issue-ID: DCAEGEN2-2600
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: Id7e4d345380fd5fd08f28a3ddff04a4fde8f7730
Diffstat (limited to 'tests/dcaegen2-pmmapper/files-processing-config-pmmapper/libraries/EnvsReader.py')
-rw-r--r-- | tests/dcaegen2-pmmapper/files-processing-config-pmmapper/libraries/EnvsReader.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/dcaegen2-pmmapper/files-processing-config-pmmapper/libraries/EnvsReader.py b/tests/dcaegen2-pmmapper/files-processing-config-pmmapper/libraries/EnvsReader.py new file mode 100644 index 00000000..cc60eed6 --- /dev/null +++ b/tests/dcaegen2-pmmapper/files-processing-config-pmmapper/libraries/EnvsReader.py @@ -0,0 +1,11 @@ + +class EnvsReader: + + def read_env_list_from_file(self, path): + f = open(path, "r") + r_list = [] + for line in f: + line = line.strip() + if line[0] != "#": + r_list.append(line) + return r_list |