diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-07 11:00:15 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2018-03-07 12:50:28 +0800 |
commit | 9e8fc209687d84385addba81329ef478e19f8368 (patch) | |
tree | 4a98a2bd99264a4349f6daabe09bef92bee5fd5f /testapi/opnfv_testapi/models/scenario_models.py | |
parent | 8d3328530fce2b9f97f26d4f1752addc45cf4411 (diff) |
add too long line check in pep8
Change-Id: I13bd62699c14bb504751b2e1149de0812b771ba0
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/models/scenario_models.py')
-rw-r--r-- | testapi/opnfv_testapi/models/scenario_models.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testapi/opnfv_testapi/models/scenario_models.py b/testapi/opnfv_testapi/models/scenario_models.py index 01b5c2b..537650e 100644 --- a/testapi/opnfv_testapi/models/scenario_models.py +++ b/testapi/opnfv_testapi/models/scenario_models.py @@ -178,11 +178,16 @@ class Scenario(base_models.ModelBase): @property installers: @ptype installers: C{list} of L{ScenarioInstaller} """ - def __init__(self, name='', create_date='', _id='', creator='', installers=None): + def __init__(self, + name='', + creation_date='', + _id='', + creator='', + installers=None): self.name = name self.creator = creator self._id = _id - self.creation_date = create_date + self.creation_date = creation_date self.installers = list_default(installers) @staticmethod |