testgres 1.14.3__tar.gz → 1.14.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {testgres-1.14.3/testgres.egg-info → testgres-1.14.4}/PKG-INFO +1 -1
- {testgres-1.14.3 → testgres-1.14.4}/src/__init__.py +4 -3
- {testgres-1.14.3 → testgres-1.14.4}/src/utils.py +2 -1
- {testgres-1.14.3 → testgres-1.14.4/testgres.egg-info}/PKG-INFO +1 -1
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_testgres_common.py +1 -1
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_utils.py +3 -0
- {testgres-1.14.3 → testgres-1.14.4}/LICENSE +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/README.md +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/pyproject.toml +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/setup.cfg +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/api.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/backup.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/cache.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/config.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/connection.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/consts.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/decorators.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/defaults.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/enums.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/exceptions.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/impl/internal_utils.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/impl/platforms/internal_platform_utils.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/impl/platforms/internal_platform_utils_factory.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/impl/platforms/linux/internal_platform_utils.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/impl/platforms/win32/internal_platform_utils.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/impl/port_manager__generic.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/impl/port_manager__this_host.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/logger.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/node.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/node_app.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/port_manager.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/pubsub.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/raise_error.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/src/standby.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/testgres.egg-info/SOURCES.txt +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/testgres.egg-info/dependency_links.txt +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/testgres.egg-info/requires.txt +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/testgres.egg-info/top_level.txt +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_api.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_config.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_os_ops_common.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_os_ops_local.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_os_ops_remote.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_raise_error.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_testgres_local.py +0 -0
- {testgres-1.14.3 → testgres-1.14.4}/tests/test_testgres_remote.py +0 -0
|
@@ -44,7 +44,8 @@ from .utils import \
|
|
|
44
44
|
bound_ports, \
|
|
45
45
|
get_bin_path, \
|
|
46
46
|
get_pg_config, \
|
|
47
|
-
get_pg_version
|
|
47
|
+
get_pg_version, \
|
|
48
|
+
parse_pg_version
|
|
48
49
|
|
|
49
50
|
from .standby import \
|
|
50
51
|
First, \
|
|
@@ -56,7 +57,7 @@ from testgres.operations.os_ops import OsOperations, ConnectionParams
|
|
|
56
57
|
from testgres.operations.local_ops import LocalOperations
|
|
57
58
|
from testgres.operations.remote_ops import RemoteOperations
|
|
58
59
|
|
|
59
|
-
__version__ = "1.14.
|
|
60
|
+
__version__ = "1.14.4"
|
|
60
61
|
|
|
61
62
|
__all__ = [
|
|
62
63
|
"get_new_node",
|
|
@@ -71,7 +72,7 @@ __all__ = [
|
|
|
71
72
|
"NodeApp",
|
|
72
73
|
"PostgresNode",
|
|
73
74
|
"PortManager",
|
|
74
|
-
"reserve_port", "release_port", "bound_ports", "get_bin_path", "get_pg_config", "get_pg_version",
|
|
75
|
+
"reserve_port", "release_port", "bound_ports", "get_bin_path", "get_pg_config", "get_pg_version", "parse_pg_version",
|
|
75
76
|
"First", "Any",
|
|
76
77
|
"OsOperations", "LocalOperations", "RemoteOperations", "ConnectionParams"
|
|
77
78
|
]
|
|
@@ -34,6 +34,9 @@ class TestUtils:
|
|
|
34
34
|
assert parse_pg_version("postgres (PostgreSQL) 11.4") == "11.4"
|
|
35
35
|
# Macos
|
|
36
36
|
assert parse_pg_version("postgres (PostgreSQL) 14.9 (Homebrew)") == "14.9"
|
|
37
|
+
# Postgres Pro trial
|
|
38
|
+
assert parse_pg_version("postgres (PostgreSQL) 18.4-TRIAL") == "18.4"
|
|
39
|
+
assert parse_pg_version("PostgreSQL 18.4-TRIAL") == "18.4"
|
|
37
40
|
|
|
38
41
|
def test_get_pg_config2(self, os_ops: OsOperations):
|
|
39
42
|
assert isinstance(os_ops, OsOperations)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|