diff options
| author | Tomas Babej <tbabej@redhat.com> | 2016-01-15 16:25:33 +0100 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-01-18 17:49:54 +0100 |
| commit | 78c5bf9f8e85b4c6c9b67b4a26acedfd45a2c86f (patch) | |
| tree | 06768801faee93c947a75090f9d978099c290543 /ipatests/pytest_plugins | |
| parent | e7a4faab81dad6b77373d6f57f597c411a7557f4 (diff) | |
| download | freeipa-78c5bf9f8e85b4c6c9b67b4a26acedfd45a2c86f.tar.gz freeipa-78c5bf9f8e85b4c6c9b67b4a26acedfd45a2c86f.tar.xz freeipa-78c5bf9f8e85b4c6c9b67b4a26acedfd45a2c86f.zip | |
logger: Use warning instead of warn
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipatests/pytest_plugins')
| -rw-r--r-- | ipatests/pytest_plugins/integration.py | 2 |
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) |
