Documentation
¶
Overview ¶
Package pgtest shares one Postgres container across a test run, one database per package, with the admin, owner and app roles of 2de90d2:tests/conftest.py.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertUnprivileged ¶
AssertUnprivileged fails t if dsn logs in as a role exempt from row-level security.
func ConceptRepository ¶ added in v0.7.0
func ConceptRepository(t testing.TB, dsn string) *repositories.ConceptRepository
ConceptRepository opens a store on dsn's okf schema, closed when t ends.
Types ¶
Click to show internal directories.
Click to hide internal directories.