diff options
Diffstat (limited to 'src/onaptests/steps/reports_collection.py')
-rw-r--r-- | src/onaptests/steps/reports_collection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onaptests/steps/reports_collection.py b/src/onaptests/steps/reports_collection.py index 3c1dfb6..6879c2b 100644 --- a/src/onaptests/steps/reports_collection.py +++ b/src/onaptests/steps/reports_collection.py @@ -43,12 +43,12 @@ class ReportsCollection: usecase = settings.SERVICE_NAME try: details = settings.SERVICE_DETAILS - except NameError: + except (KeyError, NameError): details = "" try: components = settings.SERVICE_COMPONENTS - except NameError: + except (KeyError, NameError): components = "" jinja_env = Environment( |