aboutsummaryrefslogtreecommitdiffstats
path: root/run_basic_clamp.py
blob: 514b91f9b68eae5ce024c86a9b3413ed5ceb83fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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()
    basic_clamp.reports_collection.generate_report()