diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2017-05-09 17:26:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-09 17:26:33 +0000 |
commit | 1fc80d52c05b773bf9d1b1004d53c8e6ab36b655 (patch) | |
tree | cddba8a32ae3a6c1f3fc19c26b92a2583b0b1e2a /functest/opnfv_tests/openstack | |
parent | 6e43ec79cd567da62835483277a51e68e1a82fec (diff) | |
parent | cbdf115d7ed8cfe32017fe905dccc473d727bf30 (diff) |
Merge "Bugfix: initialize the logger for snaps"
Diffstat (limited to 'functest/opnfv_tests/openstack')
-rw-r--r-- | functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py index 8a68cad9..2a1b3a39 100644 --- a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py +++ b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py @@ -5,6 +5,8 @@ # # http://www.apache.org/licenses/LICENSE-2.0 +import logging + from functest.core.pytest_suite_runner import PyTestSuiteRunner from functest.opnfv_tests.openstack.snaps import snaps_utils from functest.utils import functest_utils @@ -22,6 +24,7 @@ class SnapsTestRunner(PyTestSuiteRunner): """ def __init__(self, **kwargs): super(SnapsTestRunner, self).__init__(**kwargs) + self.logger = logging.getLogger(__name__) self.os_creds = openstack_tests.get_credentials( os_env_file=CONST.__getattribute__('openstack_creds'), |