black formatter

This commit is contained in:
Mikhail Filimonov 2024-10-03 20:03:28 +02:00
parent b36bfa34c8
commit fd5defd016

View File

@ -309,7 +309,8 @@ def check_rabbitmq_is_available(rabbitmq_id, cookie, timeout=90):
"await_startup",
),
stderr=subprocess.STDOUT,
timeout=timeout)
timeout=timeout,
)
return True
except subprocess.CalledProcessError as e:
# Raised if the command returns a non-zero exit code
@ -320,8 +321,9 @@ def check_rabbitmq_is_available(rabbitmq_id, cookie, timeout=90):
raise RuntimeError(error_message)
except subprocess.TimeoutExpired as e:
# Raised if the command times out
raise RuntimeError(f"RabbitMQ startup timed out. Output: {e.output.decode(errors='replace')}")
raise RuntimeError(
f"RabbitMQ startup timed out. Output: {e.output.decode(errors='replace')}"
)
def rabbitmq_debuginfo(rabbitmq_id, cookie):