summaryrefslogtreecommitdiffstats
path: root/vnftest
diff options
context:
space:
mode:
authorMoshe <moshehoa@amdocs.com>2019-05-20 14:54:04 +0300
committerMoshe <moshehoa@amdocs.com>2019-05-20 14:54:11 +0300
commitd4793cf2a1f5a88c59af72214be6987d786dc3ad (patch)
tree3401a4f78ecd453162c1f75cf97d691f56db50b2 /vnftest
parent2cc085f9ee3fa0abd793678f5d984423ccf4148d (diff)
fix missing context handling
Issue-ID: VNFSDK-350 Change-Id: I4ae4ba9841fe58ec62c20ec24f42d37a9d92f79d Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'vnftest')
-rw-r--r--vnftest/core/task.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnftest/core/task.py b/vnftest/core/task.py
index de3c177..7cdd865 100644
--- a/vnftest/core/task.py
+++ b/vnftest/core/task.py
@@ -449,7 +449,7 @@ class TaskParser(object): # pragma: no cover
elif "contexts" in cfg:
context_cfgs = cfg["contexts"]
else:
- context_cfgs = [{"type": "Dummy"}]
+ context_cfgs = [{"type": "Dummy", "name": "Dummy"}]
_contexts = []
for cfg_attrs in context_cfgs: