diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-05-19 08:40:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-19 08:40:43 +0000 |
commit | f5c8f9dd175e462bf362b5c301205a3376a0d82b (patch) | |
tree | 5658f9620c3deed860e44dd5907a0d623e44628e /functest/tests/unit/openstack/tempest/test_conf_utils.py | |
parent | 9b36089c6a5f01e0770351d0e93b5f34410248a3 (diff) | |
parent | ed88e5e9abb8c24cee2507b62a45878637411c25 (diff) |
Merge "Modify how to disable logging in unit test."
Diffstat (limited to 'functest/tests/unit/openstack/tempest/test_conf_utils.py')
-rw-r--r-- | functest/tests/unit/openstack/tempest/test_conf_utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/tests/unit/openstack/tempest/test_conf_utils.py b/functest/tests/unit/openstack/tempest/test_conf_utils.py index 8ca5cc5b..bdd1c7a6 100644 --- a/functest/tests/unit/openstack/tempest/test_conf_utils.py +++ b/functest/tests/unit/openstack/tempest/test_conf_utils.py @@ -16,8 +16,6 @@ from functest.utils.constants import CONST class OSTempestConfUtilsTesting(unittest.TestCase): - logging.disable(logging.CRITICAL) - def test_create_tempest_resources_missing_network_dic(self): with mock.patch('functest.opnfv_tests.openstack.tempest.conf_utils.' 'os_utils.get_keystone_client', @@ -371,4 +369,5 @@ class OSTempestConfUtilsTesting(unittest.TestCase): mexe.assert_called_once_with(cmd, error_msg=error_msg) if __name__ == "__main__": + logging.disable(logging.CRITICAL) unittest.main(verbosity=2) |