diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-24 18:18:27 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-24 18:18:27 +0800 |
commit | 707ea14579a969fa6266aab2f8fafb2f095b0806 (patch) | |
tree | 51dc881bd34745a65e4da7cb265a3806742631ff /utils/test/testapi/opnfv_testapi/tests | |
parent | ff4bea4e2b40ca32fd6921f2f560014dcb51fa3e (diff) |
bugfix: fail to generate APIs document
Change-Id: I13c91fb34e190cd62400eccec6b755419aad89d1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/tests')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/tests/unit/resources/test_scenario.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/test/testapi/opnfv_testapi/tests/unit/resources/test_scenario.py b/utils/test/testapi/opnfv_testapi/tests/unit/resources/test_scenario.py index f9bb58c6b..50a8c8d2d 100644 --- a/utils/test/testapi/opnfv_testapi/tests/unit/resources/test_scenario.py +++ b/utils/test/testapi/opnfv_testapi/tests/unit/resources/test_scenario.py @@ -297,8 +297,9 @@ class TestScenarioUpdate(TestScenarioBase): @update_partial('_update', '_success') def test_changeOwner(self, scenario): new_owner = 'new_owner' + update = models.ScenarioChangeOwnerRequest(new_owner).format() scenario['installers'][0]['versions'][0]['owner'] = new_owner - return new_owner, scenario + return update, scenario def _add(self, update_req, new_scenario): return self.post_direct_url(self.update_url, update_req) |