aboutsummaryrefslogtreecommitdiffstats
path: root/tests/aaf/certservice/libraries/EnvsReader.py
diff options
context:
space:
mode:
authorMarcin Przybysz <marcin.przybysz@nokia.com>2020-03-25 18:23:59 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-25 18:23:59 +0000
commitdeeaf11154867ea38ce406f90ea161a36e2d1004 (patch)
tree51dc367ee50f8206114395e1cf38d2d7c203c9e2 /tests/aaf/certservice/libraries/EnvsReader.py
parent513ee3f14abd1fcbb68836d0be5dea18602241f4 (diff)
parent9c14f196a10973a07bf8da1c8033e491b5efaf3b (diff)
Merge "Verification of fields in trust/key store"
Diffstat (limited to 'tests/aaf/certservice/libraries/EnvsReader.py')
-rw-r--r--tests/aaf/certservice/libraries/EnvsReader.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/aaf/certservice/libraries/EnvsReader.py b/tests/aaf/certservice/libraries/EnvsReader.py
new file mode 100644
index 00000000..cc60eed6
--- /dev/null
+++ b/tests/aaf/certservice/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