From d4793cf2a1f5a88c59af72214be6987d786dc3ad Mon Sep 17 00:00:00 2001 From: Moshe Date: Mon, 20 May 2019 14:54:04 +0300 Subject: fix missing context handling Issue-ID: VNFSDK-350 Change-Id: I4ae4ba9841fe58ec62c20ec24f42d37a9d92f79d Signed-off-by: Moshe --- vnftest/core/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit 1.2.3-korg