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 ConceptStore ¶
func ConceptStore(t testing.TB, dsn string) *store.ConceptStore
ConceptStore opens a store on dsn's okf schema, closed when t ends.
Types ¶
Click to show internal directories.
Click to hide internal directories.