aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/cli/test_cli_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/tests/unit/cli/test_cli_base.py')
-rw-r--r--functest/tests/unit/cli/test_cli_base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/tests/unit/cli/test_cli_base.py b/functest/tests/unit/cli/test_cli_base.py
index fe065c2a..89603279 100644
--- a/functest/tests/unit/cli/test_cli_base.py
+++ b/functest/tests/unit/cli/test_cli_base.py
@@ -22,8 +22,6 @@ with mock.patch('functest.cli.commands.cli_testcase.CliTestcase.__init__',
class CliBaseTesting(unittest.TestCase):
- logging.disable(logging.CRITICAL)
-
def setUp(self):
self.runner = CliRunner()
self._openstack = cli_base._openstack
@@ -135,4 +133,5 @@ class CliBaseTesting(unittest.TestCase):
if __name__ == "__main__":
+ logging.disable(logging.CRITICAL)
unittest.main(verbosity=2)