diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-02-27 14:44:22 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-02-27 14:44:22 +0800 |
commit | 0e5b6741f1dea91cfddbc92553e68a7e1e1fdb3a (patch) | |
tree | 0d39e1cd9778c6d2f6341af468561f9260bbaee0 /utils | |
parent | ca499ef74efb6fb59d39473fb578ab31e64f7ac5 (diff) |
Use new-style classes which inherit from object in TestAPI
JIRA: FUNCTEST-707
Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/common/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/testapi/opnfv_testapi/common/config.py b/utils/test/testapi/opnfv_testapi/common/config.py index 45e134fc1..105d4fabf 100644 --- a/utils/test/testapi/opnfv_testapi/common/config.py +++ b/utils/test/testapi/opnfv_testapi/common/config.py @@ -23,7 +23,7 @@ class ParseError(Exception): return 'error parsing config file : %s' % self.msg -class APIConfig: +class APIConfig(object): """ The purpose of this class is to load values correctly from the config file. Each key is declared as an attribute in __init__() and linked in parse() |