testgres 1.16.0__tar.gz → 1.16.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.
Files changed (48) hide show
  1. {testgres-1.16.0/testgres.egg-info → testgres-1.16.1}/PKG-INFO +1 -1
  2. {testgres-1.16.0 → testgres-1.16.1}/src/__init__.py +1 -1
  3. {testgres-1.16.0 → testgres-1.16.1}/src/consts.py +3 -0
  4. {testgres-1.16.0 → testgres-1.16.1}/src/exceptions.py +2 -2
  5. {testgres-1.16.0 → testgres-1.16.1}/src/node.py +297 -175
  6. {testgres-1.16.0 → testgres-1.16.1}/src/node_app.py +27 -19
  7. {testgres-1.16.0 → testgres-1.16.1}/src/pubsub.py +10 -8
  8. {testgres-1.16.0 → testgres-1.16.1}/src/raise_error.py +2 -2
  9. {testgres-1.16.0 → testgres-1.16.1}/src/utils.py +24 -14
  10. {testgres-1.16.0 → testgres-1.16.1/testgres.egg-info}/PKG-INFO +1 -1
  11. {testgres-1.16.0 → testgres-1.16.1}/tests/test_os_ops_common.py +58 -23
  12. {testgres-1.16.0 → testgres-1.16.1}/tests/test_os_ops_local.py +11 -4
  13. {testgres-1.16.0 → testgres-1.16.1}/tests/test_testgres_common.py +2 -2
  14. {testgres-1.16.0 → testgres-1.16.1}/LICENSE +0 -0
  15. {testgres-1.16.0 → testgres-1.16.1}/README.md +0 -0
  16. {testgres-1.16.0 → testgres-1.16.1}/pyproject.toml +0 -0
  17. {testgres-1.16.0 → testgres-1.16.1}/setup.cfg +0 -0
  18. {testgres-1.16.0 → testgres-1.16.1}/src/api.py +0 -0
  19. {testgres-1.16.0 → testgres-1.16.1}/src/backup.py +0 -0
  20. {testgres-1.16.0 → testgres-1.16.1}/src/cache.py +0 -0
  21. {testgres-1.16.0 → testgres-1.16.1}/src/config.py +0 -0
  22. {testgres-1.16.0 → testgres-1.16.1}/src/connection.py +0 -0
  23. {testgres-1.16.0 → testgres-1.16.1}/src/decorators.py +0 -0
  24. {testgres-1.16.0 → testgres-1.16.1}/src/defaults.py +0 -0
  25. {testgres-1.16.0 → testgres-1.16.1}/src/enums.py +0 -0
  26. {testgres-1.16.0 → testgres-1.16.1}/src/impl/file_line_reader.py +0 -0
  27. {testgres-1.16.0 → testgres-1.16.1}/src/impl/internal_utils.py +0 -0
  28. {testgres-1.16.0 → testgres-1.16.1}/src/impl/platforms/internal_platform_utils.py +0 -0
  29. {testgres-1.16.0 → testgres-1.16.1}/src/impl/platforms/internal_platform_utils_factory.py +0 -0
  30. {testgres-1.16.0 → testgres-1.16.1}/src/impl/platforms/linux/internal_platform_utils.py +0 -0
  31. {testgres-1.16.0 → testgres-1.16.1}/src/impl/platforms/win32/internal_platform_utils.py +0 -0
  32. {testgres-1.16.0 → testgres-1.16.1}/src/impl/port_manager__generic.py +0 -0
  33. {testgres-1.16.0 → testgres-1.16.1}/src/impl/port_manager__generic2.py +0 -0
  34. {testgres-1.16.0 → testgres-1.16.1}/src/impl/port_manager__this_host.py +0 -0
  35. {testgres-1.16.0 → testgres-1.16.1}/src/logger.py +0 -0
  36. {testgres-1.16.0 → testgres-1.16.1}/src/port_manager.py +0 -0
  37. {testgres-1.16.0 → testgres-1.16.1}/src/standby.py +0 -0
  38. {testgres-1.16.0 → testgres-1.16.1}/testgres.egg-info/SOURCES.txt +0 -0
  39. {testgres-1.16.0 → testgres-1.16.1}/testgres.egg-info/dependency_links.txt +0 -0
  40. {testgres-1.16.0 → testgres-1.16.1}/testgres.egg-info/requires.txt +0 -0
  41. {testgres-1.16.0 → testgres-1.16.1}/testgres.egg-info/top_level.txt +0 -0
  42. {testgres-1.16.0 → testgres-1.16.1}/tests/test_api.py +0 -0
  43. {testgres-1.16.0 → testgres-1.16.1}/tests/test_config.py +0 -0
  44. {testgres-1.16.0 → testgres-1.16.1}/tests/test_os_ops_remote.py +0 -0
  45. {testgres-1.16.0 → testgres-1.16.1}/tests/test_raise_error.py +0 -0
  46. {testgres-1.16.0 → testgres-1.16.1}/tests/test_testgres_local.py +0 -0
  47. {testgres-1.16.0 → testgres-1.16.1}/tests/test_testgres_remote.py +0 -0
  48. {testgres-1.16.0 → testgres-1.16.1}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testgres
3
- Version: 1.16.0
3
+ Version: 1.16.1
4
4
  Summary: Testing utility for PostgreSQL and its extensions
5
5
  Author-email: Postgres Professional <testgres@postgrespro.ru>
6
6
  License: PostgreSQL
@@ -60,7 +60,7 @@ from testgres.operations.os_ops import OsProcessController
60
60
  from testgres.operations.local_ops import LocalOperations
61
61
  from testgres.operations.remote_ops import RemoteOperations
62
62
 
63
- __version__ = "1.16.0"
63
+ __version__ = "1.16.1"
64
64
 
65
65
  __all__ = [
66
66
  "get_new_node",
@@ -1,5 +1,8 @@
1
1
  # coding: utf-8
2
2
 
3
+ # binary names
4
+ BINARY_NAME__POSTGRES = "postgres"
5
+
3
6
  # names for dirs in base_dir
4
7
  DATA_DIR = "data"
5
8
  LOGS_DIR = "logs"
@@ -113,7 +113,7 @@ class QueryTimeoutException(QueryException):
113
113
  def __init__(
114
114
  self,
115
115
  message: typing.Optional[str] = None,
116
- query: typing.Optional[str] = None
116
+ query: typing.Optional[str] = None,
117
117
  ):
118
118
  assert message is None or type(message) is str
119
119
  assert query is None or type(query) is str
@@ -170,7 +170,7 @@ class StartNodeException(TestgresException):
170
170
  def __init__(
171
171
  self,
172
172
  message: typing.Optional[str] = None,
173
- files: typing.Optional[typing.Iterable] = None
173
+ files: typing.Optional[typing.Iterable] = None,
174
174
  ):
175
175
  assert message is None or type(message) is str
176
176
  assert files is None or isinstance(files, typing.Iterable)