3    RegisteredTrx maintains transaction fault injection state to test 
    4    transaction failure code path. 
    6    You may enable specific transaction failure calling `enable_trx_failure` 
    7    on that transaction name. After that, the transaction's `Commit` method 
    8    will throw an exception. 
   10    If you don't need a fault injection anymore (e.g. you want to test 
   11    a successfull retry), you may call `disable_trx_failure` afterwards. 
   14    @snippet integration_tests/tests/test_trx_failure.py  fault injection 
   16    @ingroup userver_testsuite 
   22    def enable_failure(self, name: str) -> 
None:
 
   25    def disable_failure(self, name: str) -> 
None:
 
   29    def is_failure_enabled(self, name: str) -> bool: