userver: testsuite.databases.rabbitmq.classes.Control Class Reference
Loading...
Searching...
No Matches
testsuite.databases.rabbitmq.classes.Control Class Reference

Detailed Description

Definition at line 119 of file classes.py.

Public Member Functions

 __init__ (self, bool enabled, ConnectionInfo conn_info)
 teardown (self)
Channel get_channel (self)

Protected Attributes

 _enabled = enabled
 _client

Constructor & Destructor Documentation

◆ __init__()

testsuite.databases.rabbitmq.classes.Control.__init__ ( self,
bool enabled,
ConnectionInfo conn_info )

Definition at line 120 of file classes.py.

Member Function Documentation

◆ get_channel()

Channel testsuite.databases.rabbitmq.classes.Control.get_channel ( self)

Definition at line 135 of file classes.py.

◆ teardown()

testsuite.databases.rabbitmq.classes.Control.teardown ( self)

Definition at line 131 of file classes.py.

Member Data Documentation

◆ _client

testsuite.databases.rabbitmq.classes.Control._client
protected
Initial value:
= Client(
connection_future=aio_pika.connect_robust(
host=conn_info.host,
port=conn_info.tcp_port,
timeout=2.0,
),
)

Definition at line 123 of file classes.py.

◆ _enabled

testsuite.databases.rabbitmq.classes.Control._enabled = enabled
protected

Definition at line 121 of file classes.py.


The documentation for this class was generated from the following file: