summaryrefslogtreecommitdiffstats
path: root/vnftest
diff options
context:
space:
mode:
authorGao Weitao <victor.gao@huawei.com>2019-08-07 07:10:46 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-07 07:10:46 +0000
commita72f842c2c6be5facd26788dbecd557bbf308020 (patch)
treea959e9bf4d59aaaa92efaa35a6f84050993e056e /vnftest
parentd6429a51d0e2794db3aa13a6ed30da3b764ddce7 (diff)
parentd4793cf2a1f5a88c59af72214be6987d786dc3ad (diff)
Merge "fix missing context handling"
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: