userver: pytest_userver.plugins.postgresql.RegisteredNtrx Class Reference
Loading...
Searching...
No Matches
pytest_userver.plugins.postgresql.RegisteredNtrx Class Reference

Detailed Description

Definition at line 23 of file postgresql.py.

Public Member Functions

 __init__ (self, testpoint)
 
bool is_failure_enabled (self, str name)
 
 mock_failure (self, str name)
 

Protected Member Functions

None _enable_failure (self, str name)
 
None _disable_failure (self, str name)
 

Protected Attributes

 _registered_ntrx
 
 _testpoint
 

Constructor & Destructor Documentation

◆ __init__()

pytest_userver.plugins.postgresql.RegisteredNtrx.__init__ ( self,
testpoint )

Definition at line 24 of file postgresql.py.

Member Function Documentation

◆ _disable_failure()

None pytest_userver.plugins.postgresql.RegisteredNtrx._disable_failure ( self,
str name )
protected

Definition at line 35 of file postgresql.py.

◆ _enable_failure()

None pytest_userver.plugins.postgresql.RegisteredNtrx._enable_failure ( self,
str name )
protected

Definition at line 28 of file postgresql.py.

◆ is_failure_enabled()

bool pytest_userver.plugins.postgresql.RegisteredNtrx.is_failure_enabled ( self,
str name )

Definition at line 39 of file postgresql.py.

◆ mock_failure()

pytest_userver.plugins.postgresql.RegisteredNtrx.mock_failure ( self,
str name )

Definition at line 43 of file postgresql.py.

Member Data Documentation

◆ _registered_ntrx

pytest_userver.plugins.postgresql.RegisteredNtrx._registered_ntrx
protected

Definition at line 25 of file postgresql.py.

◆ _testpoint

pytest_userver.plugins.postgresql.RegisteredNtrx._testpoint
protected

Definition at line 26 of file postgresql.py.


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