diff options
author | Marcin Przybysz <marcin.przybysz@nokia.com> | 2020-03-25 18:23:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-25 18:23:59 +0000 |
commit | deeaf11154867ea38ce406f90ea161a36e2d1004 (patch) | |
tree | 51dc367ee50f8206114395e1cf38d2d7c203c9e2 /tests/aaf/certservice/libraries/EnvsReader.py | |
parent | 513ee3f14abd1fcbb68836d0be5dea18602241f4 (diff) | |
parent | 9c14f196a10973a07bf8da1c8033e491b5efaf3b (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.py | 11 |
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 |