Improve the way of setting values in CONST
authorLinda Wang <wangwulin@huawei.com>
Tue, 19 Dec 2017 09:23:04 +0000 (09:23 +0000)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 13 Feb 2018 06:44:30 +0000 (07:44 +0100)
commit46f1037fe35bc249dca868b363107bc1bcd70469
tree17945ba4933704fbbaa7b5602a1442f42f1ca93a
parent9e9e8c9b89fc7c419d1824190217897118800275
Improve the way of setting values in CONST

Use setattr instead of internal method (__setattr__).
It must be completed by patches fixing [1] [2] and [3].

[1] https://jira.opnfv.org/browse/FUNCTEST-930
[2] https://jira.opnfv.org/browse/FUNCTEST-931
[3] https://jira.opnfv.org/browse/FUNCTEST-932

Change-Id: I9558f33f5ed4559b6031d75951d5637c0c0ef8cb
Signed-off-by: Linda Wang <wangwulin@huawei.com>
functest/opnfv_tests/sdn/odl/odl.py
functest/utils/config.py
functest/utils/constants.py