Definition at line 15 of file pytest_plugin.py.
Public Member Functions | |
| __init__ (self, list[discover.PgShardedDatabase] databases, control.PgControl pgsql_control, frozenset[str] cleanup_exclude_tables) | |
| int | __len__ (self) |
| typing.Iterator[str] | __iter__ (self) |
| connection.PgConnectionInfo | __getitem__ (self, str dbname) |
| Get :py:class:testsuite.databases.pgsql.connection.PgConnectionInfo instance by database name. | |
| dict[str, control.ConnectionWrapper] | initialize (self, bool parallel_init) |
Protected Attributes | |
| bool | _initialized = False |
| _pgsql_control = pgsql_control | |
| _databases = databases | |
| dict | _shard_connections |
| _cleanup_exclude_tables = cleanup_exclude_tables | |
| testsuite.databases.pgsql.pytest_plugin.ServiceLocalConfig.__init__ | ( | self, | |
| list[discover.PgShardedDatabase] | databases, | ||
| control.PgControl | pgsql_control, | ||
| frozenset[str] | cleanup_exclude_tables ) |
Definition at line 16 of file pytest_plugin.py.
| connection.PgConnectionInfo testsuite.databases.pgsql.pytest_plugin.ServiceLocalConfig.__getitem__ | ( | self, | |
| str | dbname ) |
Get :py:class:testsuite.databases.pgsql.connection.PgConnectionInfo instance by database name.
Definition at line 40 of file pytest_plugin.py.
| typing.Iterator[str] testsuite.databases.pgsql.pytest_plugin.ServiceLocalConfig.__iter__ | ( | self | ) |
Definition at line 37 of file pytest_plugin.py.
| int testsuite.databases.pgsql.pytest_plugin.ServiceLocalConfig.__len__ | ( | self | ) |
Definition at line 34 of file pytest_plugin.py.
| dict[str, control.ConnectionWrapper] testsuite.databases.pgsql.pytest_plugin.ServiceLocalConfig.initialize | ( | self, | |
| bool | parallel_init ) |
Definition at line 47 of file pytest_plugin.py.
|
protected |
Definition at line 32 of file pytest_plugin.py.
|
protected |
Definition at line 24 of file pytest_plugin.py.
|
protected |
Definition at line 22 of file pytest_plugin.py.
|
protected |
Definition at line 23 of file pytest_plugin.py.
|
protected |
Definition at line 25 of file pytest_plugin.py.