Skip to content

Commit

Permalink
tests: Get debug libssh logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakuje committed Dec 22, 2024
1 parent 277db24 commit 2a648d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

"""Pytest plugins and fixtures configuration."""

import logging
import shutil
import socket
import subprocess
Expand Down Expand Up @@ -115,6 +116,8 @@ def ssh_client_session(ssh_session_connect):
# noqa: DAR101
"""
ssh_session = Session()
# XXX FIXME https://github.com/ansible/pylibssh/pull/597
ssh_session.set_log_level(logging.CRITICAL)
ssh_session_connect(ssh_session)
try: # noqa: WPS501
yield ssh_session
Expand Down

0 comments on commit 2a648d4

Please sign in to comment.