From 5c0905e1b578c2dde4bf5585694696bc66f1ba1f Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Mon, 14 Aug 2017 14:52:59 +0800 Subject: delete obsolete scenario update code 1) update scenario will be subsitituted with new methods, in this patch delete the obsolete code first to make clean room 2) test_queryCombination() will fail randomly, in this patch disable it first, reopen when problem solved Change-Id: I1939876465934ea09894255712057a78f120be71 Signed-off-by: SerenaFeng --- .../testapi/opnfv_testapi/resources/scenario_models.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'utils/test/testapi/opnfv_testapi/resources/scenario_models.py') diff --git a/utils/test/testapi/opnfv_testapi/resources/scenario_models.py b/utils/test/testapi/opnfv_testapi/resources/scenario_models.py index 467cff241..9f5a07434 100644 --- a/utils/test/testapi/opnfv_testapi/resources/scenario_models.py +++ b/utils/test/testapi/opnfv_testapi/resources/scenario_models.py @@ -143,21 +143,6 @@ class ScenarioCreateRequest(models.ModelBase): return {'installers': ScenarioInstaller} -@swagger.model() -class ScenarioUpdateRequest(models.ModelBase): - """ - @property field: update field - @property op: add/delete/update - @property locate: information used to locate the field - @property term: new value - """ - def __init__(self, field=None, op=None, locate=None, term=None): - self.field = field - self.op = op - self.locate = dict_default(locate) - self.term = dict_default(term) - - @swagger.model() class Scenario(models.ModelBase): """ -- cgit 1.2.3-korg