aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/steps/reports_collection.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/onaptests/steps/reports_collection.py')
-rw-r--r--src/onaptests/steps/reports_collection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onaptests/steps/reports_collection.py b/src/onaptests/steps/reports_collection.py
index e1eae51..4e19012 100644
--- a/src/onaptests/steps/reports_collection.py
+++ b/src/onaptests/steps/reports_collection.py
@@ -63,12 +63,12 @@ class ReportsCollection:
usecase = settings.SERVICE_NAME
try:
details = settings.SERVICE_DETAILS
- except (KeyError, NameError):
+ except (KeyError, AttributeError):
details = ""
try:
components = settings.SERVICE_COMPONENTS
- except (KeyError, NameError):
+ except (KeyError, AttributeError):
components = ""
jinja_env = Environment(