Plugin that imports the required fixtures to start the database and adjusts the PostgreSQL "dbconnection" static config value.
Classes | |
| class | RegisteredNtrx |
| class | RegisteredNtrxFailureType |
Functions | |
| userver_pg_config (pgsql_local) | |
| Returns a function that adjusts the static configuration file for the testsuite. | |
| sql.RegisteredTrx | userver_pg_trx (testpoint) |
| The fixture maintains transaction fault injection state using RegisteredTrx class. | |
| RegisteredNtrx | userver_pg_ntrx (testpoint) |
| The fixture maintains single query fault injection state using RegisteredNtrx class. | |
Variables | |
| list | pytest_plugins |
| list | USERVER_CONFIG_HOOKS = ['userver_pg_config'] |
| list pytest_userver.plugins.postgresql.pytest_plugins |
Definition at line 13 of file postgresql.py.
| list pytest_userver.plugins.postgresql.USERVER_CONFIG_HOOKS = ['userver_pg_config'] |
Definition at line 19 of file postgresql.py.