diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-05-05 07:51:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-05 07:51:35 +0000 |
commit | e9b9d37c1c8268c9cde8db48458e39bce1f5b133 (patch) | |
tree | 685694273ab372360642ed5fcfd91148dcc06b13 /functest/opnfv_tests/features/barometer.py | |
parent | 533e08503e5888adb7a7cfa8b112502385130a8f (diff) | |
parent | 3154346cfd22a3d500dc2fd01495e181308d12d6 (diff) |
Merge "Define loggers as class-private members"
Diffstat (limited to 'functest/opnfv_tests/features/barometer.py')
-rw-r--r-- | functest/opnfv_tests/features/barometer.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/functest/opnfv_tests/features/barometer.py b/functest/opnfv_tests/features/barometer.py index 8a409406..cbfe7d9a 100644 --- a/functest/opnfv_tests/features/barometer.py +++ b/functest/opnfv_tests/features/barometer.py @@ -6,6 +6,8 @@ # # http://www.apache.org/licenses/LICENSE-2.0 +import logging + from baro_tests import collectd import functest.core.feature as base @@ -16,5 +18,7 @@ class BarometerCollectd(base.Feature): Class for executing barometercollectd testcase. ''' + __logger = logging.getLogger(__name__) + def execute(self): - return collectd.main(self.logger) + return collectd.main(self.__logger) |