aboutsummaryrefslogtreecommitdiffstats
path: root/functest/cli/cli_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/cli/cli_base.py')
-rw-r--r--functest/cli/cli_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/cli/cli_base.py b/functest/cli/cli_base.py
index 54b3e72b..507179b1 100644
--- a/functest/cli/cli_base.py
+++ b/functest/cli/cli_base.py
@@ -25,6 +25,7 @@ CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
def cli():
logging.config.fileConfig(pkg_resources.resource_filename(
'functest', 'ci/logging.ini'))
+ logging.captureWarnings(True)
_env = CliEnv()