31 def __init__(self, testpoint):
36 self, name: str, failure_type: RegisteredNtrxFailureType,
40 @self._testpoint(f'pg_ntrx_execute::{name}')
41 def _failure_tp(data):
47 def _disable_failure(self, name: str) ->
None:
51 def _get_failure_type(self, name: str) -> RegisteredNtrxFailureType:
54 def is_failure_enabled(self, name: str) -> bool:
61 failure_type: RegisteredNtrxFailureType = RegisteredNtrxFailureType.Error,
70@pytest.fixture(scope='session')