Definition at line 30 of file testsuite_db.py.
Public Member Functions | |
| __init__ (self, pool.AutocommitConnectionPool pool, connection.PgConnectionInfo base_conninfo) | |
| str|None | get_hash (self, str dbname) |
| Get hash of schema applied to a database. | |
| set_hash (self, str dbname, str schema_hash) | |
| Store in testsuite database and remember locally a hash of schema applied to a database. | |
Protected Member Functions | |
| dict[str, str] | _hash_by_dbname (self) |
| None | _create_schema_table (self) |
| None | _create_db (self) |
Protected Attributes | |
| _pool = pool | |
| _conninfo = base_conninfo.replace(dbname=TESTSUITE_DB_NAME) | |
| testsuite.databases.pgsql.testsuite_db.AppliedSchemaHashes.__init__ | ( | self, | |
| pool.AutocommitConnectionPool | pool, | ||
| connection.PgConnectionInfo | base_conninfo ) |
Definition at line 31 of file testsuite_db.py.
|
protected |
Definition at line 71 of file testsuite_db.py.
|
protected |
Definition at line 66 of file testsuite_db.py.
|
protected |
Definition at line 60 of file testsuite_db.py.
| str | None testsuite.databases.pgsql.testsuite_db.AppliedSchemaHashes.get_hash | ( | self, | |
| str | dbname ) |
Get hash of schema applied to a database.
Definition at line 42 of file testsuite_db.py.
| testsuite.databases.pgsql.testsuite_db.AppliedSchemaHashes.set_hash | ( | self, | |
| str | dbname, | ||
| str | schema_hash ) |
Store in testsuite database and remember locally a hash of schema applied to a database.
Definition at line 46 of file testsuite_db.py.
|
protected |
Definition at line 37 of file testsuite_db.py.
|
protected |
Definition at line 36 of file testsuite_db.py.