From 0e5b6741f1dea91cfddbc92553e68a7e1e1fdb3a Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Mon, 27 Feb 2017 14:44:22 +0800 Subject: Use new-style classes which inherit from object in TestAPI JIRA: FUNCTEST-707 Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903 Signed-off-by: SerenaFeng --- utils/test/testapi/opnfv_testapi/common/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit 1.2.3-korg