testgres 1.17.0__tar.gz → 1.17.1__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.17.0/testgres.egg-info → testgres-1.17.1}/PKG-INFO +1 -1
- {testgres-1.17.0 → testgres-1.17.1}/src/__init__.py +1 -1
- {testgres-1.17.0 → testgres-1.17.1}/src/pubsub.py +1 -1
- {testgres-1.17.0 → testgres-1.17.1/testgres.egg-info}/PKG-INFO +1 -1
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_testgres_common.py +2 -2
- {testgres-1.17.0 → testgres-1.17.1}/LICENSE +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/README.md +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/pyproject.toml +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/setup.cfg +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/api.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/backup.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/cache.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/config.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/connection.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/consts.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/decorators.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/defaults.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/enums.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/exceptions.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/connection_pg8000.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/connection_psycopg2.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/error_utils.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/file_line_reader.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/internal_node_utils.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/internal_utils.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/platforms/darwin/internal_platform_utils.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/platforms/internal_platform_utils.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/platforms/internal_platform_utils_factory.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/platforms/internal_platform_utils_provider.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/platforms/linux/internal_platform_utils.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/platforms/win32/internal_platform_utils.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/port_manager__generic.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/port_manager__generic2.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/impl/port_manager__this_host.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/logger.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/node.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/node_app.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/node_state.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/port_manager.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/raise_error.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/standby.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/src/utils.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/testgres.egg-info/SOURCES.txt +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/testgres.egg-info/dependency_links.txt +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/testgres.egg-info/requires.txt +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/testgres.egg-info/top_level.txt +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_api.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_config.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_os_ops_common.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_os_ops_local.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_os_ops_remote.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_raise_error.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_testgres_local.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_testgres_remote.py +0 -0
- {testgres-1.17.0 → testgres-1.17.1}/tests/test_utils.py +0 -0
|
@@ -61,7 +61,7 @@ from testgres.operations.os_ops import OsProcessController
|
|
|
61
61
|
from testgres.operations.local_ops import LocalOperations
|
|
62
62
|
from testgres.operations.remote_ops import RemoteOperations
|
|
63
63
|
|
|
64
|
-
__version__ = "1.17.
|
|
64
|
+
__version__ = "1.17.1"
|
|
65
65
|
|
|
66
66
|
__all__ = [
|
|
67
67
|
"get_new_node",
|
|
@@ -183,7 +183,7 @@ class Subscription:
|
|
|
183
183
|
|
|
184
184
|
# additional parameters
|
|
185
185
|
if params:
|
|
186
|
-
query += " with ({})".format(options_string(**params))
|
|
186
|
+
query += " with ({})".format(options_string(separator=", ", **params))
|
|
187
187
|
|
|
188
188
|
# Note: cannot run 'create subscription' query in transaction mode
|
|
189
189
|
self.node.execute(
|
|
@@ -130,7 +130,7 @@ class TestTestgresCommon:
|
|
|
130
130
|
# Author: Mark G.
|
|
131
131
|
assert v.major == 1
|
|
132
132
|
assert v.minor == 17
|
|
133
|
-
assert v.micro ==
|
|
133
|
+
assert v.micro == 1
|
|
134
134
|
|
|
135
135
|
assert str(v) == testgres_version
|
|
136
136
|
return
|
|
@@ -2386,7 +2386,7 @@ class TestTestgresCommon:
|
|
|
2386
2386
|
# create new publication and subscription for specific table
|
|
2387
2387
|
# (omitting copying data as it's already done)
|
|
2388
2388
|
pub = node1.publish('newpub', tables=['test'])
|
|
2389
|
-
sub = node2.subscribe(pub, 'newsub', copy_data=False)
|
|
2389
|
+
sub = node2.subscribe(pub, 'newsub', copy_data=False, enabled=True)
|
|
2390
2390
|
|
|
2391
2391
|
node1.safe_psql('insert into test values (4, 4)')
|
|
2392
2392
|
sub.catchup()
|
|
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
|
|
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
|