summaryrefslogtreecommitdiffstats
path: root/vnftest/tests/unit/onap/test_rest_call.py
diff options
context:
space:
mode:
Diffstat (limited to 'vnftest/tests/unit/onap/test_rest_call.py')
-rw-r--r--vnftest/tests/unit/onap/test_rest_call.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnftest/tests/unit/onap/test_rest_call.py b/vnftest/tests/unit/onap/test_rest_call.py
index 6735774..8e6b402 100644
--- a/vnftest/tests/unit/onap/test_rest_call.py
+++ b/vnftest/tests/unit/onap/test_rest_call.py
@@ -51,7 +51,7 @@ class RestCallTestCase(testtools.TestCase):
def test_run(self, mock_execute_operation):
mock_execute_operation.return_value = {'body': {'value': 'output1'}}
t = task.Task({})
- context_cfg = {}
+ context_cfg = {'task_id': '123', 'name': 'dummy'}
context = Context.get("CSAR")
context.init(context_cfg)
t.context = context