SYMBOL INDEX (628 symbols across 48 files) FILE: src/api.py function get_new_node (line 36) | def get_new_node(name=None, base_dir=None, **kwargs): function get_remote_node (line 45) | def get_remote_node(name=None, conn_params=None): FILE: src/backup.py class NodeBackup (line 24) | class NodeBackup(object): method log_file (line 29) | def log_file(self): method __init__ (line 34) | def __init__(self, method __enter__ (line 91) | def __enter__(self): method __exit__ (line 94) | def __exit__(self, type, value, traceback): method _prepare_dir (line 97) | def _prepare_dir(self, destroy): method spawn_primary (line 137) | def spawn_primary(self, name=None, destroy=True): method spawn_replica (line 172) | def spawn_replica(self, name=None, destroy=True, slot=None): method cleanup (line 200) | def cleanup(self): FILE: src/cache.py function cached_initdb (line 23) | def cached_initdb(data_dir, logfile=None, params=None, os_ops: OsOperati... FILE: src/config.py class GlobalConfig (line 20) | class GlobalConfig(object): method cached_initdb_dir (line 57) | def cached_initdb_dir(self): method cached_initdb_dir (line 62) | def cached_initdb_dir(self, value): method temp_dir (line 70) | def temp_dir(self): method temp_dir (line 75) | def temp_dir(self, value): method __init__ (line 78) | def __init__(self, **options): method __setitem__ (line 81) | def __setitem__(self, key, value): method __getitem__ (line 84) | def __getitem__(self, key): method __setattr__ (line 87) | def __setattr__(self, name, value): method keys (line 93) | def keys(self): method items (line 106) | def items(self): method update (line 113) | def update(self, config): method copy (line 125) | def copy(self): method set_os_ops (line 133) | def set_os_ops(os_ops: OsOperations): function _rm_cached_initdb_dirs (line 152) | def _rm_cached_initdb_dirs(): function push_config (line 157) | def push_config(**options): function pop_config (line 169) | def pop_config(): function scoped_config (line 182) | def scoped_config(**options): function configure_testgres (line 207) | def configure_testgres(**options): FILE: src/connection.py class NodeConnection (line 28) | class NodeConnection(object): method __init__ (line 32) | def __init__(self, method node (line 57) | def node(self): method connection (line 61) | def connection(self): method pid (line 65) | def pid(self): method cursor (line 69) | def cursor(self): method __enter__ (line 72) | def __enter__(self): method __exit__ (line 75) | def __exit__(self, type, value, traceback): method begin (line 78) | def begin(self, isolation_level=IsolationLevel.ReadCommitted): method commit (line 97) | def commit(self): method rollback (line 102) | def rollback(self): method execute (line 107) | def execute(self, query, *args): method close (line 119) | def close(self): FILE: src/decorators.py function positional_args_hack (line 5) | def positional_args_hack(*special_cases): function method_decorator (line 49) | def method_decorator(decorator): FILE: src/defaults.py function default_dbname (line 8) | def default_dbname(): function default_username (line 16) | def default_username(): function generate_app_name (line 23) | def generate_app_name(): function generate_system_id (line 31) | def generate_system_id(): FILE: src/enums.py class XLogMethod (line 6) | class XLogMethod(Enum): class IsolationLevel (line 16) | class IsolationLevel(Enum): class NodeStatus (line 27) | class NodeStatus(IntEnum): method __bool__ (line 35) | def __bool__(self): class ProcessType (line 42) | class ProcessType(Enum): method from_process (line 61) | def from_process(process): class DumpFormat (line 95) | class DumpFormat(Enum): FILE: src/exceptions.py class PortForException (line 11) | class PortForException(TestgresException): method __init__ (line 14) | def __init__( method message (line 24) | def message(self) -> str: method __repr__ (line 30) | def __repr__(self) -> str: class QueryException (line 47) | class QueryException(TestgresException): method __init__ (line 51) | def __init__( method message (line 66) | def message(self) -> str: method description (line 83) | def description(self) -> typing.Optional[str]: method query (line 88) | def query(self) -> typing.Optional[str]: method __repr__ (line 92) | def __repr__(self) -> str: class QueryTimeoutException (line 111) | class QueryTimeoutException(QueryException): method __init__ (line 112) | def __init__( class CatchUpException (line 129) | class CatchUpException(TestgresException): method __init__ (line 132) | def __init__( method message (line 142) | def message(self) -> str: method __repr__ (line 148) | def __repr__(self) -> str: class StartNodeException (line 165) | class StartNodeException(TestgresException): method __init__ (line 169) | def __init__( method message (line 184) | def message(self) -> str: method description (line 201) | def description(self) -> typing.Optional[str]: method files (line 206) | def files(self) -> typing.Optional[typing.Iterable]: method __repr__ (line 210) | def __repr__(self) -> str: class InitNodeException (line 229) | class InitNodeException(TestgresException): method __init__ (line 232) | def __init__( method message (line 242) | def message(self) -> str: method __repr__ (line 248) | def __repr__(self) -> str: class BackupException (line 264) | class BackupException(TestgresException): method __init__ (line 267) | def __init__( method message (line 277) | def message(self) -> str: method __repr__ (line 283) | def __repr__(self) -> str: FILE: src/impl/internal_utils.py function send_log (line 4) | def send_log(level: int, msg: str) -> None: function send_log_info (line 11) | def send_log_info(msg: str) -> None: function send_log_debug (line 17) | def send_log_debug(msg: str) -> None: FILE: src/impl/platforms/internal_platform_utils.py class InternalPlatformUtils (line 9) | class InternalPlatformUtils: class FindPostmasterResultCode (line 10) | class FindPostmasterResultCode(enum.Enum): class FindPostmasterResult (line 17) | class FindPostmasterResult: method __init__ (line 21) | def __init__( method create_ok (line 33) | def create_ok(pid: int) -> InternalPlatformUtils.FindPostmasterResult: method create_not_found (line 38) | def create_not_found() -> InternalPlatformUtils.FindPostmasterResult: method create_not_implemented (line 42) | def create_not_implemented() -> InternalPlatformUtils.FindPostmaster... method create_many_processes (line 46) | def create_many_processes() -> InternalPlatformUtils.FindPostmasterR... method create_has_problems (line 50) | def create_has_problems() -> InternalPlatformUtils.FindPostmasterRes... method FindPostmaster (line 53) | def FindPostmaster( FILE: src/impl/platforms/internal_platform_utils_factory.py function create_internal_platform_utils (line 6) | def create_internal_platform_utils( FILE: src/impl/platforms/linux/internal_platform_utils.py class InternalPlatformUtils (line 13) | class InternalPlatformUtils(base.InternalPlatformUtils): method FindPostmaster (line 22) | def FindPostmaster( FILE: src/impl/platforms/win32/internal_platform_utils.py class InternalPlatformUtils (line 7) | class InternalPlatformUtils(base.InternalPlatformUtils): method FindPostmaster (line 8) | def FindPostmaster( FILE: src/impl/port_manager__generic.py class PortManager__Generic (line 12) | class PortManager__Generic(PortManager): method __init__ (line 22) | def __init__(self, os_ops: OsOperations): method reserve_port (line 39) | def reserve_port(self) -> int: method release_port (line 70) | def release_port(self, number: int) -> None: method helper__send_debug_msg (line 89) | def helper__send_debug_msg(msg_template: str, *args) -> None: FILE: src/impl/port_manager__this_host.py class PortManager__ThisHost (line 8) | class PortManager__ThisHost(PortManager): method get_single_instance (line 13) | def get_single_instance() -> PortManager: method reserve_port (line 28) | def reserve_port(self) -> int: method release_port (line 31) | def release_port(self, number: int) -> None: FILE: src/logger.py class TestgresLogger (line 9) | class TestgresLogger(threading.Thread): method __init__ (line 13) | def __init__(self, node_name, log_file_name): method run (line 22) | def run(self): method stop (line 45) | def stop(self, wait=True): FILE: src/node.py class ProcessProxy (line 116) | class ProcessProxy(object): method __init__ (line 128) | def __init__(self, process, ptype: typing.Optional[ProcessType] = None): method __getattr__ (line 140) | def __getattr__(self, name): method __repr__ (line 143) | def __repr__(self): method process (line 150) | def process(self) -> typing.Any: method ptype (line 155) | def ptype(self) -> ProcessType: class PostgresNode (line 160) | class PostgresNode(object): method __init__ (line 173) | def __init__(self, method __enter__ (line 260) | def __enter__(self): method __exit__ (line 263) | def __exit__(self, type, value, traceback): method __repr__ (line 279) | def __repr__(self): method _get_os_ops (line 288) | def _get_os_ops() -> OsOperations: method _get_port_manager (line 295) | def _get_port_manager(os_ops: OsOperations) -> PortManager: method clone_with_new_name_and_base_dir (line 308) | def clone_with_new_name_and_base_dir(self, name: str, base_dir: str): method os_ops (line 333) | def os_ops(self) -> OsOperations: method port_manager (line 339) | def port_manager(self) -> typing.Optional[PortManager]: method name (line 344) | def name(self) -> str: method host (line 351) | def host(self) -> str: method port (line 357) | def port(self) -> int: method ssh_key (line 365) | def ssh_key(self) -> typing.Optional[str]: method pid (line 371) | def pid(self) -> int: method is_started (line 388) | def is_started(self) -> bool: method auxiliary_pids (line 396) | def auxiliary_pids(self) -> typing.Dict[ProcessType, typing.List[int]]: method auxiliary_processes (line 413) | def auxiliary_processes(self) -> typing.List[ProcessProxy]: method child_processes (line 425) | def child_processes(self) -> typing.List[ProcessProxy]: method _get_child_processes (line 444) | def _get_child_processes(self, pid: int) -> typing.List[ProcessProxy]: method source_walsender (line 454) | def source_walsender(self): method master (line 483) | def master(self): method base_dir (line 487) | def base_dir(self): method bin_dir (line 498) | def bin_dir(self): method logs_dir (line 504) | def logs_dir(self): method data_dir (line 518) | def data_dir(self): method utils_log_file (line 528) | def utils_log_file(self): method pg_log_file (line 537) | def pg_log_file(self): method version (line 546) | def version(self): method _try_shutdown (line 555) | def _try_shutdown(self, max_attempts, with_force=False): method _throw_bugcheck__unexpected_result_of_ps (line 625) | def _throw_bugcheck__unexpected_result_of_ps(result, cmd): method _assign_master (line 635) | def _assign_master(self, master): method _create_recovery_conf (line 641) | def _create_recovery_conf(self, username, slot=None): method _maybe_start_logger (line 705) | def _maybe_start_logger(self): method _maybe_stop_logger (line 712) | def _maybe_stop_logger(self): method _collect_special_files (line 716) | def _collect_special_files(self) -> typing.List[typing.Tuple[str, byte... method init (line 744) | def init(self, initdb_params=None, cached=True, **kwargs): method default_conf (line 775) | def default_conf(self, method append_conf (line 882) | def append_conf(self, line='', filename=PG_CONF_FILE, **kwargs): method status (line 922) | def status(self): method _get_node_state (line 933) | def _get_node_state(self) -> utils.PostgresNodeState: method get_control_data (line 941) | def get_control_data(self): method slow_start (line 961) | def slow_start(self, replica=False, dbname='template1', username=None,... method start (line 1004) | def start( method start2 (line 1040) | def start2( method _start (line 1066) | def _start( method _raise_cannot_start_node (line 1158) | def _raise_cannot_start_node( method stop (line 1168) | def stop(self, params=[], wait=True): method kill (line 1193) | def kill(self, someone=None): method restart (line 1223) | def restart(self, params=[]): method reload (line 1255) | def reload(self, params=[]): method promote (line 1276) | def promote(self, dbname=None, username=None): method pg_ctl (line 1312) | def pg_ctl(self, params): method release_resources (line 1331) | def release_resources(self): method free_port (line 1337) | def free_port(self): method cleanup (line 1344) | def cleanup(self, max_attempts=3, full=False, release_resources=False): method psql (line 1373) | def psql(self, method _psql (line 1420) | def _psql( method safe_psql (line 1489) | def safe_psql(self, query=None, expect_error=False, **kwargs): method dump (line 1531) | def dump(self, method restore (line 1588) | def restore(self, filename, dbname=None, username=None): method poll_query_until (line 1618) | def poll_query_until(self, method execute (line 1687) | def execute(self, method backup (line 1716) | def backup(self, **kwargs): method replicate (line 1731) | def replicate(self, name=None, slot=None, **kwargs): method set_synchronous_standbys (line 1747) | def set_synchronous_standbys(self, standbys): method catchup (line 1786) | def catchup(self, dbname=None, username=None): method publish (line 1815) | def publish(self, name, **kwargs): method subscribe (line 1827) | def subscribe(self, method pgbench (line 1850) | def pgbench(self, method pgbench_with_wait (line 1888) | def pgbench_with_wait(self, method pgbench_init (line 1911) | def pgbench_init(self, **kwargs): method pgbench_run (line 1924) | def pgbench_run(self, dbname=None, username=None, options=[], **kwargs): method connect (line 1970) | def connect(self, method table_checksum (line 1996) | def table_checksum( method pgbench_table_checksums (line 2024) | def pgbench_table_checksums( method set_auto_conf (line 2038) | def set_auto_conf(self, options, config='postgresql.auto.conf', rm_opt... method upgrade_from (line 2108) | def upgrade_from(self, old_node, options=None, expect_error=False): method _release_resources (line 2143) | def _release_resources(self): method _free_port (line 2146) | def _free_port(self): method _get_bin_path (line 2162) | def _get_bin_path(self, filename): method _escape_config_value (line 2173) | def _escape_config_value(value): method _tables_checksum (line 2197) | def _tables_checksum( method _table_checksum__use_cn (line 2228) | def _table_checksum__use_cn( method _delim_sql_ident (line 2258) | def _delim_sql_ident(name: str) -> str: class PostgresNodeLogReader (line 2274) | class PostgresNodeLogReader: class LogInfo (line 2275) | class LogInfo: method __init__ (line 2278) | def __init__(self, position: int): class LogDataBlock (line 2282) | class LogDataBlock: method __init__ (line 2287) | def __init__( method file_name (line 2303) | def file_name(self) -> str: method position (line 2309) | def position(self) -> int: method data (line 2315) | def data(self) -> str: method __init__ (line 2324) | def __init__(self, node: PostgresNode, from_beginnig: bool): method read (line 2339) | def read(self) -> typing.List[LogDataBlock]: method _collect_logs (line 2392) | def _collect_logs(self) -> typing.Dict[str, LogInfo]: class PostgresNodeUtils (line 2418) | class PostgresNodeUtils: method delect_port_conflict (line 2420) | def delect_port_conflict(log_reader: PostgresNodeLogReader) -> bool: FILE: src/node_app.py class NodeApp (line 16) | class NodeApp: method __init__ (line 22) | def __init__( method test_path (line 53) | def test_path(self) -> str: method os_ops (line 58) | def os_ops(self) -> OsOperations: method port_manager (line 63) | def port_manager(self) -> PortManager: method nodes_to_cleanup (line 68) | def nodes_to_cleanup(self) -> typing.List[PostgresNode]: method make_empty (line 72) | def make_empty( method make_simple (line 117) | def make_simple( method _paramlist_has_param (line 217) | def _paramlist_has_param( method _paramlist_append (line 231) | def _paramlist_append( method _paramlist_append_if_not_exist (line 254) | def _paramlist_append_if_not_exist( method _gettempdir_for_socket (line 264) | def _gettempdir_for_socket() -> str: method _gettempdir (line 292) | def _gettempdir() -> str: method _raise_bugcheck (line 311) | def _raise_bugcheck(msg): FILE: src/port_manager.py class PortManager (line 1) | class PortManager: method __init__ (line 2) | def __init__(self): method reserve_port (line 5) | def reserve_port(self) -> int: method release_port (line 8) | def release_port(self, number: int) -> None: FILE: src/pubsub.py class Publication (line 53) | class Publication(object): method __init__ (line 54) | def __init__(self, name, node, tables=None, dbname=None, username=None): method drop (line 76) | def drop(self, dbname=None, username=None): method add_tables (line 84) | def add_tables(self, tables, dbname=None, username=None): class Subscription (line 101) | class Subscription(object): method __init__ (line 102) | def __init__(self, method disable (line 147) | def disable(self, dbname=None, username=None): method enable (line 154) | def enable(self, dbname=None, username=None): method refresh (line 161) | def refresh(self, copy_data=True, dbname=None, username=None): method drop (line 170) | def drop(self, dbname=None, username=None): method catchup (line 178) | def catchup(self, username=None): FILE: src/raise_error.py class RaiseError (line 7) | class RaiseError: method pg_ctl_returns_an_empty_string (line 9) | def pg_ctl_returns_an_empty_string(_params): method pg_ctl_returns_an_unexpected_string (line 16) | def pg_ctl_returns_an_unexpected_string(out, _params): method pg_ctl_returns_a_zero_pid (line 25) | def pg_ctl_returns_a_zero_pid(out, _params): method node_err__cant_enumerate_child_processes (line 34) | def node_err__cant_enumerate_child_processes( method node_err__cant_kill (line 49) | def node_err__cant_kill( method _map_node_status_to_reason (line 64) | def _map_node_status_to_reason( FILE: src/standby.py class First (line 7) | class First: method __init__ (line 19) | def __init__(self, sync_num, standbys): method __str__ (line 23) | def __str__(self): class Any (line 30) | class Any: method __init__ (line 42) | def __init__(self, sync_num, standbys): method __str__ (line 46) | def __str__(self): FILE: src/utils.py class PgVer (line 47) | class PgVer(Version): method __init__ (line 48) | def __init__(self, version: str) -> None: function internal__reserve_port (line 56) | def internal__reserve_port(): function internal__release_port (line 63) | def internal__release_port(port): function execute_utility (line 76) | def execute_utility(args, logfile=None, verbose=False): function execute_utility2 (line 90) | def execute_utility2( function get_bin_path (line 130) | def get_bin_path(filename): function get_bin_path2 (line 138) | def get_bin_path2(os_ops: OsOperations, filename): function get_pg_config (line 168) | def get_pg_config(pg_config_path=None, os_ops=None): function get_pg_config2 (line 180) | def get_pg_config2(os_ops: OsOperations, pg_config_path): function get_pg_version2 (line 232) | def get_pg_version2(os_ops: OsOperations, bin_dir=None): function get_pg_version (line 256) | def get_pg_version(bin_dir=None): function parse_pg_version (line 264) | def parse_pg_version(version_out): function file_tail (line 276) | def file_tail(f, num_lines): function eprint (line 303) | def eprint(*args, **kwargs): function options_string (line 310) | def options_string(separator=u" ", **kwargs): function clean_on_error (line 315) | def clean_on_error(node): class PostgresNodeState (line 329) | class PostgresNodeState: method __init__ (line 333) | def __init__( function get_pg_node_state (line 346) | def get_pg_node_state( FILE: tests/conftest.py class T_TEST_PROCESS_KIND (line 46) | class T_TEST_PROCESS_KIND(enum.Enum): class T_TEST_PROCESS_MODE (line 55) | class T_TEST_PROCESS_MODE(enum.Enum): class TestConfigPropNames (line 71) | class TestConfigPropNames: class TestStartupData__Helper (line 79) | class TestStartupData__Helper: method GetStartTS (line 84) | def GetStartTS() -> datetime.datetime: method CalcRootDir (line 90) | def CalcRootDir() -> str: method CalcRootLogDir (line 99) | def CalcRootLogDir() -> str: method CalcCurrentTestWorkerSignature (line 111) | def CalcCurrentTestWorkerSignature() -> str: class TestStartupData (line 140) | class TestStartupData: method GetRootDir (line 150) | def GetRootDir() -> str: method GetRootLogDir (line 156) | def GetRootLogDir() -> str: method GetCurrentTestWorkerSignature (line 162) | def GetCurrentTestWorkerSignature() -> str: class TEST_PROCESS_STATS (line 171) | class TEST_PROCESS_STATS: method incrementTotalTestCount (line 197) | def incrementTotalTestCount() -> None: method incrementNotExecutedTestCount (line 207) | def incrementNotExecutedTestCount() -> None: method incrementExecutedTestCount (line 217) | def incrementExecutedTestCount() -> int: method incrementPassedTestCount (line 228) | def incrementPassedTestCount() -> None: method incrementFailedTestCount (line 238) | def incrementFailedTestCount(testID: str, errCount: int) -> None: method incrementXFailedTestCount (line 263) | def incrementXFailedTestCount(testID: str, errCount: int) -> None: method incrementSkippedTestCount (line 280) | def incrementSkippedTestCount() -> None: method incrementNotXFailedTests (line 290) | def incrementNotXFailedTests(testID: str) -> None: method incrementWarningTestCount (line 305) | def incrementWarningTestCount(testID: str, warningCount: int) -> None: method incrementUnexpectedTests (line 331) | def incrementUnexpectedTests() -> None: method incrementAchtungTestCount (line 341) | def incrementAchtungTestCount(testID: str) -> None: function timedelta_to_human_text (line 358) | def timedelta_to_human_text(delta: datetime.timedelta) -> str: function helper__build_test_id (line 383) | def helper__build_test_id(item: pytest.Function) -> str: function helper__makereport__setup (line 400) | def helper__makereport__setup( class ExitStatusNames (line 459) | class ExitStatusNames: function helper__makereport__call (line 469) | def helper__makereport__call( function pytest_runtest_makereport (line 646) | def pytest_runtest_makereport(item: pytest.Function, call: pytest.CallIn... class LogWrapper2 (line 691) | class LogWrapper2: method __init__ (line 699) | def __init__(self): method __enter__ (line 707) | def __enter__(self): method __exit__ (line 727) | def __exit__(self, exc_type, exc_val, exc_tb): method __call__ (line 746) | def __call__(self, record: logging.LogRecord): class SIGNAL_EXCEPTION (line 779) | class SIGNAL_EXCEPTION(Exception): method __init__ (line 780) | def __init__(self): function pytest_pyfunc_call (line 788) | def pytest_pyfunc_call(pyfuncitem: pytest.Function): function helper__calc_W (line 863) | def helper__calc_W(n: int) -> int: function helper__print_test_list (line 874) | def helper__print_test_list(tests: typing.List[str]) -> None: function helper__print_test_list2 (line 901) | def helper__print_test_list2(tests: typing.List[T_TUPLE__str_int]) -> None: function pytest_sessionfinish (line 936) | def pytest_sessionfinish(): function helper__detect_test_process_kind (line 1074) | def helper__detect_test_process_kind(config: pytest.Config) -> T_TEST_PR... function helper__detect_test_process_mode (line 1089) | def helper__detect_test_process_mode(config: pytest.Config) -> T_TEST_PR... function helper__pytest_configure__logging (line 1100) | def helper__pytest_configure__logging(config: pytest.Config) -> None: function pytest_configure (line 1125) | def pytest_configure(config: pytest.Config) -> None: FILE: tests/helpers/global_data.py class OsOpsDescr (line 13) | class OsOpsDescr: method __init__ (line 17) | def __init__(self, sign: str, os_ops: OsOperations): class OsOpsDescrs (line 24) | class OsOpsDescrs: class PortManagers (line 39) | class PortManagers: class PostgresNodeService (line 47) | class PostgresNodeService: method __init__ (line 52) | def __init__(self, sign: str, os_ops: OsOperations, port_manager: Port... class PostgresNodeServices (line 61) | class PostgresNodeServices: FILE: tests/helpers/pg_node_utils.py class PostgresNodeUtils (line 15) | class PostgresNodeUtils: class PostgresNodeUtilsException (line 16) | class PostgresNodeUtilsException(Exception): class PortConflictNodeException (line 19) | class PortConflictNodeException(PostgresNodeUtilsException): method __init__ (line 23) | def __init__(self, data_dir: str, port: int): method data_dir (line 34) | def data_dir(self) -> str: method port (line 39) | def port(self) -> int: method message (line 44) | def message(self) -> str: method __str__ (line 55) | def __str__(self) -> str: method __repr__ (line 60) | def __repr__(self) -> str: class StartNodeException (line 72) | class StartNodeException(PostgresNodeUtilsException): method __init__ (line 76) | def __init__( method message (line 91) | def message(self) -> str: method data_dir (line 109) | def data_dir(self) -> typing.Optional[str]: method files (line 114) | def files(self) -> typing.Optional[typing.Iterable]: method __repr__ (line 118) | def __repr__(self) -> str: method get_node (line 132) | def get_node( method wait_for_running_state (line 154) | def wait_for_running_state( FILE: tests/helpers/run_conditions.py class RunConditions (line 6) | class RunConditions: method skip_if_windows (line 11) | def skip_if_windows(): FILE: tests/helpers/utils.py class Utils (line 9) | class Utils: method PrintAndSleep (line 11) | def PrintAndSleep(wait: T_WAIT_TIME): method WaitUntil (line 18) | def WaitUntil( FILE: tests/test_config.py class TestConfig (line 11) | class TestConfig: method test_config_stack (line 12) | def test_config_stack(self): FILE: tests/test_os_ops_common.py class TestOsOpsCommon (line 30) | class TestOsOpsCommon: method os_ops (line 40) | def os_ops(self, request: pytest.FixtureRequest) -> OsOperations: method test_get_platform (line 45) | def test_get_platform(self, os_ops: OsOperations): method test_get_platform__is_known (line 52) | def test_get_platform__is_known(self, os_ops: OsOperations): method test_create_clone (line 59) | def test_create_clone(self, os_ops: OsOperations): method test_exec_command_success (line 66) | def test_exec_command_success(self, os_ops: OsOperations): method test_exec_command_failure (line 80) | def test_exec_command_failure(self, os_ops: OsOperations): method test_exec_command_failure__expect_error (line 108) | def test_exec_command_failure__expect_error(self, os_ops: OsOperations): method test_exec_command_with_exec_env (line 126) | def test_exec_command_with_exec_env(self, os_ops: OsOperations): method test_exec_command_with_exec_env__2 (line 147) | def test_exec_command_with_exec_env__2(self, os_ops: OsOperations): method test_exec_command_with_cwd (line 185) | def test_exec_command_with_cwd(self, os_ops: OsOperations): method test_exec_command__test_unset (line 202) | def test_exec_command__test_unset(self, os_ops: OsOperations): method test_exec_command__test_unset_dummy_var (line 230) | def test_exec_command__test_unset_dummy_var(self, os_ops: OsOperations): method test_is_executable_true (line 245) | def test_is_executable_true(self, os_ops: OsOperations): method test_is_executable_false (line 257) | def test_is_executable_false(self, os_ops: OsOperations): method test_makedirs_and_rmdirs_success (line 267) | def test_makedirs_and_rmdirs_success(self, os_ops: OsOperations): method test_makedirs_failure (line 290) | def test_makedirs_failure(self, os_ops: OsOperations): method test_listdir (line 305) | def test_listdir(self, os_ops: OsOperations): method test_path_exists_true__directory (line 320) | def test_path_exists_true__directory(self, os_ops: OsOperations): method test_path_exists_true__file (line 330) | def test_path_exists_true__file(self, os_ops: OsOperations): method test_path_exists_false__directory (line 340) | def test_path_exists_false__directory(self, os_ops: OsOperations): method test_path_exists_false__file (line 350) | def test_path_exists_false__file(self, os_ops: OsOperations): method test_mkdtemp__default (line 360) | def test_mkdtemp__default(self, os_ops: OsOperations): method test_mkdtemp__custom (line 369) | def test_mkdtemp__custom(self, os_ops: OsOperations): method test_rmdirs (line 380) | def test_rmdirs(self, os_ops: OsOperations): method test_rmdirs__01_with_subfolder (line 389) | def test_rmdirs__01_with_subfolder(self, os_ops: OsOperations): method test_rmdirs__02_with_file (line 406) | def test_rmdirs__02_with_file(self, os_ops: OsOperations): method test_rmdirs__03_with_subfolder_and_file (line 423) | def test_rmdirs__03_with_subfolder_and_file(self, os_ops: OsOperations): method test_write_text_file (line 447) | def test_write_text_file(self, os_ops: OsOperations): method test_write_binary_file (line 467) | def test_write_binary_file(self, os_ops: OsOperations): method test_read_text_file (line 484) | def test_read_text_file(self, os_ops: OsOperations): method test_read_binary_file (line 498) | def test_read_binary_file(self, os_ops: OsOperations): method test_read__text (line 512) | def test_read__text(self, os_ops: OsOperations): method test_read__binary (line 541) | def test_read__binary(self, os_ops: OsOperations): method test_read__binary_and_encoding (line 556) | def test_read__binary_and_encoding(self, os_ops: OsOperations): method test_read_binary__spec (line 569) | def test_read_binary__spec(self, os_ops: OsOperations): method test_read_binary__spec__negative_offset (line 605) | def test_read_binary__spec__negative_offset(self, os_ops: OsOperations): method test_get_file_size (line 616) | def test_get_file_size(self, os_ops: OsOperations): method test_isfile_true (line 631) | def test_isfile_true(self, os_ops: OsOperations): method test_isfile_false__not_exist (line 643) | def test_isfile_false__not_exist(self, os_ops: OsOperations): method test_isfile_false__directory (line 655) | def test_isfile_false__directory(self, os_ops: OsOperations): method test_isdir_true (line 669) | def test_isdir_true(self, os_ops: OsOperations): method test_isdir_false__not_exist (line 681) | def test_isdir_false__not_exist(self, os_ops: OsOperations): method test_isdir_false__file (line 693) | def test_isdir_false__file(self, os_ops: OsOperations): method test_cwd (line 707) | def test_cwd(self, os_ops: OsOperations): class tagWriteData001 (line 719) | class tagWriteData001: method __init__ (line 720) | def __init__(self, sign, source, cp_rw, cp_truncate, cp_binary, cp_d... method write_data001 (line 760) | def write_data001(self, request): method test_write (line 765) | def test_write(self, write_data001: tagWriteData001, os_ops: OsOperati... method test_touch (line 788) | def test_touch(self, os_ops: OsOperations): method test_is_port_free__true (line 804) | def test_is_port_free__true(self, os_ops: OsOperations): method test_is_port_free__false (line 840) | def test_is_port_free__false(self, os_ops: OsOperations): method test_get_tmpdir (line 901) | def test_get_tmpdir(self, os_ops: OsOperations): method test_get_tmpdir__compare_with_py_info (line 925) | def test_get_tmpdir__compare_with_py_info(self, os_ops: OsOperations): class tagData_OS_OPS__NUMS (line 942) | class tagData_OS_OPS__NUMS: method __init__ (line 946) | def __init__(self, os_ops_descr: OsOpsDescr, nums: int): method data001 (line 962) | def data001(self, request: pytest.FixtureRequest) -> tagData_OS_OPS__N... method test_mkdir__mt (line 966) | def test_mkdir__mt(self, data001: tagData_OS_OPS__NUMS): method kill_signal_id (line 1227) | def kill_signal_id(self, request: pytest.FixtureRequest) -> T_KILL_SIG... method test_kill_signal (line 1232) | def test_kill_signal( method test_kill (line 1240) | def test_kill( method test_kill__unk_pid (line 1309) | def test_kill__unk_pid( FILE: tests/test_os_ops_local.py class TestOsOpsLocal (line 11) | class TestOsOpsLocal: method os_ops (line 13) | def os_ops(self): method test_read__unknown_file (line 16) | def test_read__unknown_file(self, os_ops: OsOperations): method test_read_binary__spec__unk_file (line 24) | def test_read_binary__spec__unk_file(self, os_ops: OsOperations): method test_get_file_size__unk_file (line 34) | def test_get_file_size__unk_file(self, os_ops: OsOperations): method test_cwd (line 43) | def test_cwd(self, os_ops: OsOperations): FILE: tests/test_os_ops_remote.py class TestOsOpsRemote (line 12) | class TestOsOpsRemote: method os_ops (line 14) | def os_ops(self): method test_rmdirs__try_to_delete_nonexist_path (line 17) | def test_rmdirs__try_to_delete_nonexist_path(self, os_ops: OsOperations): method test_rmdirs__try_to_delete_file (line 24) | def test_rmdirs__try_to_delete_file(self, os_ops: OsOperations): method test_read__unknown_file (line 44) | def test_read__unknown_file(self, os_ops: OsOperations): method test_read_binary__spec__unk_file (line 57) | def test_read_binary__spec__unk_file(self, os_ops: OsOperations): method test_get_file_size__unk_file (line 70) | def test_get_file_size__unk_file(self, os_ops: OsOperations): FILE: tests/test_raise_error.py class TestRaiseError (line 9) | class TestRaiseError: class tagTestData001 (line 10) | class tagTestData001: method __init__ (line 14) | def __init__( method sign (line 26) | def sign(self) -> str: method data001 (line 47) | def data001(self, request: pytest.FixtureRequest) -> tagTestData001: method test_001__node_err__cant_enumerate_child_processes (line 52) | def test_001__node_err__cant_enumerate_child_processes( method data002 (line 82) | def data002(self, request: pytest.FixtureRequest) -> tagTestData001: method test_002__node_err__cant_kill (line 87) | def test_002__node_err__cant_kill( FILE: tests/test_testgres_common.py function removing (line 59) | def removing(os_ops: OsOperations, f): class TestTestgresCommon (line 72) | class TestTestgresCommon: method node_svc (line 83) | def node_svc(self, request: pytest.FixtureRequest) -> PostgresNodeServ... method test_testgres_version (line 90) | def test_testgres_version(self): method test_version_management (line 103) | def test_version_management(self, node_svc: PostgresNodeService): method test_node_repr (line 135) | def test_node_repr(self, node_svc: PostgresNodeService): method test_custom_init (line 140) | def test_custom_init(self, node_svc: PostgresNodeService): method test_double_init (line 161) | def test_double_init(self, node_svc: PostgresNodeService): method test_init_after_cleanup (line 169) | def test_init_after_cleanup(self, node_svc: PostgresNodeService): method test_init_unique_system_id (line 177) | def test_init_unique_system_id(self, node_svc: PostgresNodeService): method test_node_exit (line 207) | def test_node_exit(self, node_svc: PostgresNodeService): method test_double_start (line 225) | def test_double_start(self, node_svc: PostgresNodeService): method test_start__manually_stop__start_again (line 253) | def test_start__manually_stop__start_again(self, node_svc: PostgresNod... method test_uninitialized_start (line 291) | def test_uninitialized_start(self, node_svc: PostgresNodeService): method test_start2 (line 304) | def test_start2(self, node_svc: PostgresNodeService): method test_restart (line 332) | def test_restart(self, node_svc: PostgresNodeService): method test_double_stop (line 355) | def test_double_stop(self, node_svc: PostgresNodeService): method test_reload (line 377) | def test_reload(self, node_svc: PostgresNodeService): method test_pg_ctl (line 395) | def test_pg_ctl(self, node_svc: PostgresNodeService): method test_status (line 404) | def test_status(self, node_svc: PostgresNodeService): method test_status__empty_postmaster_pid (line 436) | def test_status__empty_postmaster_pid(self, node_svc: PostgresNodeServ... method test_status__force_clean_postmaster_pid (line 467) | def test_status__force_clean_postmaster_pid(self, node_svc: PostgresNo... method test_kill__is_not_initialized (line 514) | def test_kill__is_not_initialized( method test_kill__is_not_running (line 532) | def test_kill__is_not_running( method test_kill__ok (line 561) | def test_kill__ok( method test_kill_backgroud_writer__ok (line 601) | def test_kill_backgroud_writer__ok( method test_child_processes__is_not_initialized (line 653) | def test_child_processes__is_not_initialized( method test_child_processes__is_not_running (line 671) | def test_child_processes__is_not_running( method test_child_processes__ok (line 700) | def test_child_processes__ok( method test_child_pids (line 770) | def test_child_pids(self, node_svc: PostgresNodeService): method test_exceptions (line 891) | def test_exceptions(self): method test_auto_name (line 896) | def test_auto_name(self, node_svc: PostgresNodeService): method test_file_tail (line 910) | def test_file_tail(self): method test_isolation_levels (line 933) | def test_isolation_levels(self, node_svc: PostgresNodeService): method test_users (line 953) | def test_users(self, node_svc: PostgresNodeService): method test_poll_query_until (line 961) | def test_poll_query_until(self, node_svc: PostgresNodeService): method test_logging (line 1023) | def test_logging(self, node_svc: PostgresNodeService): method test_psql (line 1116) | def test_psql(self, node_svc: PostgresNodeService): method test_psql__another_port (line 1164) | def test_psql__another_port(self, node_svc: PostgresNodeService): method test_psql__another_bad_host (line 1190) | def test_psql__another_bad_host(self, node_svc: PostgresNodeService): method test_safe_psql__another_port (line 1206) | def test_safe_psql__another_port(self, node_svc: PostgresNodeService): method test_safe_psql__another_bad_host (line 1232) | def test_safe_psql__another_bad_host(self, node_svc: PostgresNodeServi... method test_safe_psql__expect_error (line 1247) | def test_safe_psql__expect_error(self, node_svc: PostgresNodeService): method test_transactions (line 1266) | def test_transactions(self, node_svc: PostgresNodeService): method test_control_data (line 1291) | def test_control_data(self, node_svc: PostgresNodeService): method test_backup_simple (line 1306) | def test_backup_simple(self, node_svc: PostgresNodeService): method test_backup_multiple (line 1328) | def test_backup_multiple(self, node_svc: PostgresNodeService): method test_backup_exhaust (line 1342) | def test_backup_exhaust(self, node_svc: PostgresNodeService): method test_backup_wrong_xlog_method (line 1356) | def test_backup_wrong_xlog_method(self, node_svc: PostgresNodeService): method test_pg_ctl_wait_option (line 1367) | def test_pg_ctl_wait_option(self, node_svc: PostgresNodeService): method impl__test_pg_ctl_wait_option (line 1407) | def impl__test_pg_ctl_wait_option( method test_replicate (line 1505) | def test_replicate(self, node_svc: PostgresNodeService): method test_synchronous_replication (line 1521) | def test_synchronous_replication(self, node_svc: PostgresNodeService): method test_logical_replication (line 1567) | def test_logical_replication(self, node_svc: PostgresNodeService): method test_logical_catchup (line 1641) | def test_logical_catchup(self, node_svc: PostgresNodeService): method test_logical_replication_fail (line 1669) | def test_logical_replication_fail(self, node_svc: PostgresNodeService): method test_replication_slots (line 1680) | def test_replication_slots(self, node_svc: PostgresNodeService): method test_incorrect_catchup (line 1692) | def test_incorrect_catchup(self, node_svc: PostgresNodeService): method test_promotion (line 1701) | def test_promotion(self, node_svc: PostgresNodeService): method dump_fmt (line 1724) | def dump_fmt(self, request: pytest.FixtureRequest) -> enums.DumpFormat: method test_dump (line 1728) | def test_dump(self, node_svc: PostgresNodeService, dump_fmt: enums.Dum... method test_dump_with_options (line 1747) | def test_dump_with_options(self, node_svc: PostgresNodeService): method test_pgbench (line 1772) | def test_pgbench(self, node_svc: PostgresNodeService): method test_unix_sockets (line 1792) | def test_unix_sockets(self, node_svc: PostgresNodeService): method test_the_same_port (line 1812) | def test_the_same_port(self, node_svc: PostgresNodeService): class tagPortManagerProxy (line 1845) | class tagPortManagerProxy(PortManager): method __init__ (line 1854) | def __init__(self, prevPortManager: PortManager, dummyPortNumber: in... method __enter__ (line 1871) | def __enter__(self): method __exit__ (line 1874) | def __exit__(self, type, value, traceback): method reserve_port (line 1879) | def reserve_port(self) -> int: method release_port (line 1899) | def release_port(self, number: int) -> None: method test_port_rereserve_during_node_start (line 1921) | def test_port_rereserve_during_node_start(self, node_svc: PostgresNode... method test_port_conflict (line 1956) | def test_port_conflict(self, node_svc: PostgresNodeService): method test_try_to_get_port_after_free_manual_port (line 2000) | def test_try_to_get_port_after_free_manual_port(self, node_svc: Postgr... method test_try_to_start_node_after_free_manual_port (line 2030) | def test_try_to_start_node_after_free_manual_port(self, node_svc: Post... method test_node__os_ops (line 2059) | def test_node__os_ops(self, node_svc: PostgresNodeService): method test_node__port_manager (line 2074) | def test_node__port_manager(self, node_svc: PostgresNodeService): method test_node__port_manager_and_explicit_port (line 2089) | def test_node__port_manager_and_explicit_port(self, node_svc: Postgres... method test_node__no_port_manager (line 2115) | def test_node__no_port_manager(self, node_svc: PostgresNodeService): class tagTableChecksumTestData (line 2141) | class tagTableChecksumTestData: method __init__ (line 2144) | def __init__( method table_checksum_test_data (line 2171) | def table_checksum_test_data( method test_node__table_checksum (line 2179) | def test_node__table_checksum( method test_node__pgbench_table_checksums__one_table (line 2239) | def test_node__pgbench_table_checksums__one_table( method test_node__pgbench_table_checksums__pbckp_2278 (line 2304) | def test_node__pgbench_table_checksums__pbckp_2278(self, node_svc: Pos... method helper__call_and_check_pgbench_table_checksums (line 2334) | def helper__call_and_check_pgbench_table_checksums( class tag_rmdirs_protector (line 2422) | class tag_rmdirs_protector: method __init__ (line 2428) | def __init__(self, os_ops: OsOperations): method __enter__ (line 2433) | def __enter__(self): method __exit__ (line 2438) | def __exit__(self, exc_type, exc_val, exc_tb): method proxy__rmdirs (line 2443) | def proxy__rmdirs(self, path, ignore_errors=True): method test_node_app__make_empty__base_dir_is_None (line 2446) | def test_node_app__make_empty__base_dir_is_None(self, node_svc: Postgr... method test_node_app__make_empty__base_dir_is_Empty (line 2480) | def test_node_app__make_empty__base_dir_is_Empty(self, node_svc: Postg... method test_node_app__make_empty (line 2510) | def test_node_app__make_empty(self, node_svc: PostgresNodeService): method test_node_app__make_simple__checksum (line 2559) | def test_node_app__make_simple__checksum(self, node_svc: PostgresNodeS... method test_node_app__make_empty_with_explicit_port (line 2612) | def test_node_app__make_empty_with_explicit_port(self, node_svc: Postg... method helper__get_node (line 2716) | def helper__get_node( method helper__skip_test_if_pg_version_is_not_ge (line 2737) | def helper__skip_test_if_pg_version_is_not_ge(ver1: str, ver2: str): method helper__skip_test_if_pg_version_is_ge (line 2744) | def helper__skip_test_if_pg_version_is_ge(ver1: str, ver2: str): method helper__pg_version_ge (line 2751) | def helper__pg_version_ge(ver1: str, ver2: str) -> bool: method helper__rm_carriage_returns (line 2759) | def helper__rm_carriage_returns(out): method helper__skip_test_if_util_not_exist (line 2777) | def helper__skip_test_if_util_not_exist(os_ops: OsOperations, name: str): method helper__util_exists (line 2784) | def helper__util_exists(os_ops: OsOperations, util): FILE: tests/test_testgres_local.py function pg_version_ge (line 28) | def pg_version_ge(version): function util_exists (line 34) | def util_exists(util): function rm_carriage_returns (line 50) | def rm_carriage_returns(out): class TestTestgresLocal (line 68) | class TestTestgresLocal: method test_pg_config (line 69) | def test_pg_config(self): method test_ports_management (line 94) | def test_ports_management(self): method test_child_process_dies (line 128) | def test_child_process_dies(self): method test_upgrade_node (line 159) | def test_upgrade_node(self): class tagPortManagerProxy (line 172) | class tagPortManagerProxy: method __init__ (line 182) | def __init__(self, dummyPortNumber, dummyPortMaxUsage): method __enter__ (line 208) | def __enter__(self): method __exit__ (line 211) | def __exit__(self, type, value, traceback): method _proxy__reserve_port (line 227) | def _proxy__reserve_port(): method _proxy__release_port (line 247) | def _proxy__release_port(dummyPortNumber): method test_port_rereserve_during_node_start (line 268) | def test_port_rereserve_during_node_start(self): method test_port_conflict (line 301) | def test_port_conflict(self): method test_simple_with_bin_dir (line 343) | def test_simple_with_bin_dir(self): method test_set_auto_conf (line 366) | def test_set_auto_conf(self): method helper__skip_test_if_util_not_exist (line 410) | def helper__skip_test_if_util_not_exist(name: str): FILE: tests/test_testgres_remote.py function util_exists (line 25) | def util_exists(util): class TestTestgresRemote (line 41) | class TestTestgresRemote: method implicit_fixture (line 43) | def implicit_fixture(self): method test_init__LANG_С (line 56) | def test_init__LANG_С(self): method test_init__unk_LANG_and_LC_CTYPE (line 68) | def test_init__unk_LANG_and_LC_CTYPE(self): method test_pg_config (line 142) | def test_pg_config(self): method helper__get_node (line 168) | def helper__get_node(name=None): method helper__restore_envvar (line 181) | def helper__restore_envvar(name, prev_value): method helper__skip_test_if_util_not_exist (line 188) | def helper__skip_test_if_util_not_exist(name: str): FILE: tests/test_utils.py class TestUtils (line 13) | class TestUtils: method os_ops (line 23) | def os_ops(self, request: pytest.FixtureRequest) -> OsOperations: method test_parse_pg_version (line 28) | def test_parse_pg_version(self): method test_get_pg_config2 (line 38) | def test_get_pg_config2(self, os_ops: OsOperations): FILE: tests/units/exceptions/BackupException/test_set001__constructor.py class TestSet001_Constructor (line 5) | class TestSet001_Constructor: method test_001__default (line 6) | def test_001__default(self): method test_002__message (line 16) | def test_002__message(self): FILE: tests/units/exceptions/CatchUpException/test_set001__constructor.py class TestSet001_Constructor (line 5) | class TestSet001_Constructor: method test_001__default (line 6) | def test_001__default(self): method test_002__message (line 16) | def test_002__message(self): FILE: tests/units/exceptions/InitNodeException/test_set001__constructor.py class TestSet001_Constructor (line 5) | class TestSet001_Constructor: method test_001__default (line 6) | def test_001__default(self): method test_002__message (line 16) | def test_002__message(self): FILE: tests/units/exceptions/PortForException/test_set001__constructor.py class TestSet001_Constructor (line 5) | class TestSet001_Constructor: method test_001__default (line 6) | def test_001__default(self): method test_002__message (line 16) | def test_002__message(self): FILE: tests/units/exceptions/QueryException/test_set001__constructor.py class TestSet001_Constructor (line 5) | class TestSet001_Constructor: method test_001__default (line 6) | def test_001__default(self): method test_002__message (line 18) | def test_002__message(self): method test_003__query (line 30) | def test_003__query(self): method test_004__all (line 42) | def test_004__all(self): FILE: tests/units/exceptions/QueryTimeoutException/test_set001__constructor.py class TestSet001_Constructor (line 6) | class TestSet001_Constructor: method test_001__default (line 7) | def test_001__default(self): method test_002__message (line 20) | def test_002__message(self): method test_003__query (line 33) | def test_003__query(self): method test_004__all (line 46) | def test_004__all(self): FILE: tests/units/exceptions/StartNodeException/test_set001__constructor.py class TestSet001_Constructor (line 5) | class TestSet001_Constructor: method test_001__default (line 6) | def test_001__default(self): method test_002__message (line 18) | def test_002__message(self): method test_003__files (line 30) | def test_003__files(self): method test_004__all (line 42) | def test_004__all(self): FILE: tests/units/exceptions/TimeoutException/test_set001.py class TestSet001 (line 6) | class TestSet001: method test_001__default (line 7) | def test_001__default(self): FILE: tests/units/node/PostgresNode/test_setM001__start.py class TestSet001__start (line 21) | class TestSet001__start: method node_svc (line 26) | def node_svc(self, request: pytest.FixtureRequest) -> PostgresNodeServ... class tagData001 (line 33) | class tagData001: method __init__ (line 36) | def __init__(self, wait: typing.Optional[bool]): method data001 (line 50) | def data001(self, request: pytest.FixtureRequest) -> tagData001: method test_001__wait_true (line 55) | def test_001__wait_true( method test_002__wait_false (line 87) | def test_002__wait_false(self, node_svc: PostgresNodeService): method test_003__exec_env (line 143) | def test_003__exec_env( method test_004__params_is_None (line 185) | def test_004__params_is_None( method test_005__params_is_empty (line 202) | def test_005__params_is_empty( FILE: tests/units/node/PostgresNode/test_setM002__start2.py class TestSet002__start2 (line 21) | class TestSet002__start2: method node_svc (line 26) | def node_svc(self, request: pytest.FixtureRequest) -> PostgresNodeServ... class tagData001 (line 33) | class tagData001: method __init__ (line 36) | def __init__(self, wait: typing.Optional[bool]): method data001 (line 50) | def data001(self, request: pytest.FixtureRequest) -> tagData001: method test_001__wait_true (line 55) | def test_001__wait_true( method test_002__wait_false (line 84) | def test_002__wait_false(self, node_svc: PostgresNodeService): method test_003__exec_env (line 137) | def test_003__exec_env( method test_004__params_is_None (line 179) | def test_004__params_is_None( method test_005__params_is_empty (line 196) | def test_005__params_is_empty(