diff options
author | 2019-03-03 12:06:08 +0200 | |
---|---|---|
committer | 2019-03-03 12:21:08 +0200 | |
commit | 480cee41e7ebe28feb4fb77955afcd0f3295fba4 (patch) | |
tree | 112e2d919fe16dcaf71346b3d0035c2aad6bd8d6 /vnftest/tests/unit/onap | |
parent | e10a5af4bb80d0a9ad4b0bd56959091ba5ff4a9a (diff) |
Allow multiple contexts per test case
Issue-ID: VNFSDK-350
Change-Id: Ib189a748bd41c48ef55959cecf221971d15099b5
Signed-off-by: Moshe <moshehoa@amdocs.com>
refactor context handling
Change-Id: Ic2bcdbcc98addeeef2cecd42c025a6a25b630b07
Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'vnftest/tests/unit/onap')
-rw-r--r-- | vnftest/tests/unit/onap/test_rest_call.py | 2 |
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 |