summaryrefslogtreecommitdiffstats
path: root/ipatests/pytest_plugins/integration.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/pytest_plugins/integration.py')
-rw-r--r--ipatests/pytest_plugins/integration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/pytest_plugins/integration.py b/ipatests/pytest_plugins/integration.py
index 5ece99680..a191d8486 100644
--- a/ipatests/pytest_plugins/integration.py
+++ b/ipatests/pytest_plugins/integration.py
@@ -94,7 +94,7 @@ def collect_logs(name, logs_dict, logfile_dir=None, beakerlib_plugin=None):
cmd = host.run_command(['tar', 'cJv'] + logs, log_stdout=False,
raiseonerr=False)
if cmd.returncode:
- log.warn('Could not collect all requested logs')
+ log.warning('Could not collect all requested logs')
# Unpack on the local side
dirname = os.path.join(topdirname, host.hostname)