summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py')
-rw-r--r--utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py b/utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py
index bd06400b4..7ab57c3ff 100644
--- a/utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py
+++ b/utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py
@@ -255,7 +255,7 @@ class ScenarioUpdater(object):
@iter_installers
@iter_versions
def _update_requests_change_owner(self, version):
- version.owner = self.body
+ version.owner = self.body.get('owner')
def _filter_installers(self, installers):
return self._filter('installer', installers)
@@ -587,7 +587,7 @@ class ScenarioOwnerHandler(GenericScenarioUpdateHandler):
@type body: L{string}
@in body: body
@param installer: installer type
- @type installer: L{string}
+ @type installer: L{ScenarioChangeOwnerRequest}
@in installer: query
@required installer: True
@param version: version