diff options
author | 2020-11-06 20:44:28 +0000 | |
---|---|---|
committer | 2020-11-06 20:44:28 +0000 | |
commit | 882e2b34db0ea53de3195303267c17d8809fca15 (patch) | |
tree | e75baa7f93f042fa43e4ee684adbf336b227b80c /run_basic_clamp.py | |
parent | eeeb7190de7185c9994e460cc0472e8817ab68aa (diff) | |
parent | 18642f67fcd7268a914fb6632f0f755336e8ba24 (diff) |
Merge "Add CLAMP E2E tests"
Diffstat (limited to 'run_basic_clamp.py')
-rw-r--r-- | run_basic_clamp.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/run_basic_clamp.py b/run_basic_clamp.py new file mode 100644 index 0000000..06c3dda --- /dev/null +++ b/run_basic_clamp.py @@ -0,0 +1,16 @@ +#!/usr/bin/python +# +import logging.config +from onapsdk.configuration import settings +from onaptests.steps.loop.clamp import ClampStep + + +if __name__ == "__main__": + # logging configuration for onapsdk, it is not requested for onaptests + # Correction requested in onapsdk to avoid having this duplicate code + logging.config.dictConfig(settings.LOG_CONFIG) + logger = logging.getLogger("Instantiate Basic Clamp") + + basic_clamp = ClampStep( + cleanup=settings.CLEANUP_FLAG) + basic_clamp.execute() |