aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/constants.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-01-26 14:29:01 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-01-26 18:14:28 +0100
commitc6092cb676363d89f366dc9a416ba6c53eeea33f (patch)
treea850e02e9aebb2e05203437685a04312226f3f45 /functest/utils/constants.py
parent4862f742a08658459afee5e272122af5f2cdc9de (diff)
Fix pylint errors in several utils modules
All utils which are moving to xtesting are now fixed. It remains OpenStack and Functest utils (+ the related unit tests) which doesn't move to the new package. Change-Id: If13c627c8444c62d5c6bf9c8057d6413aa0e56c7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/utils/constants.py')
-rw-r--r--functest/utils/constants.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/functest/utils/constants.py b/functest/utils/constants.py
index 75c97c76..cb3ea787 100644
--- a/functest/utils/constants.py
+++ b/functest/utils/constants.py
@@ -1,12 +1,15 @@
#!/usr/bin/env python
+# pylint: disable=missing-docstring
+
import six
from functest.utils import config
from functest.utils import env
-class Constants(object):
+class Constants(object): # pylint: disable=too-few-public-methods
+
def __init__(self):
for attr_n, attr_v in six.iteritems(config.CONF.__dict__):
self.__setattr__(attr_n, attr_v)