Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from .exceptions import \
TestgresException, \
ExecUtilException, \
ExecTimeoutException, \
QueryException, \
QueryTimeoutException, \
TimeoutException, \
Expand Down Expand Up @@ -53,7 +54,9 @@

from .config import testgres_config

from testgres.operations.os_ops import OsOperations, ConnectionParams
from testgres.operations.os_ops import OsOperations
from testgres.operations.os_ops import ConnectionParams
from testgres.operations.os_ops import OsProcessController
from testgres.operations.local_ops import LocalOperations
from testgres.operations.remote_ops import RemoteOperations

Expand All @@ -66,6 +69,7 @@
"TestgresConfig", "configure_testgres", "scoped_config", "push_config", "pop_config",
"NodeConnection", "DatabaseError", "InternalError", "ProgrammingError", "OperationalError",
"TestgresException", "ExecUtilException", "QueryException",
"ExecTimeoutException",
"QueryTimeoutException",
"TimeoutException", "CatchUpException", "StartNodeException", "InitNodeException", "BackupException", "InvalidOperationException",
"XLogMethod", "IsolationLevel", "NodeStatus", "ProcessType", "DumpFormat",
Expand All @@ -74,5 +78,6 @@
"PortManager",
"reserve_port", "release_port", "get_bin_path", "get_bin_dir", "get_pg_config", "get_pg_version", "parse_pg_version",
"First", "Any",
"OsOperations", "LocalOperations", "RemoteOperations", "ConnectionParams"
"OsOperations", "LocalOperations", "RemoteOperations", "ConnectionParams",
"OsProcessController",
]
2 changes: 2 additions & 0 deletions src/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from testgres.operations.exceptions import TestgresException
from testgres.operations.exceptions import ExecUtilException
from testgres.operations.exceptions import InvalidOperationException
from testgres.operations.exceptions import ExecTimeoutException


class PortForException(TestgresException):
Expand Down Expand Up @@ -298,3 +299,4 @@ def __repr__(self) -> str:

assert ExecUtilException.__name__ == "ExecUtilException"
assert InvalidOperationException.__name__ == "InvalidOperationException"
assert ExecTimeoutException.__name__ == "ExecTimeoutException"
Loading