Event Timeline
Comment Actions
Maybe?
from pytest_postgresql import factories from swh.core.db.pytest_plugin import postgresql_fact
Use postgresql_fact factory from swh.core.db... instead of factories (and drop the import)? (also don't know if you care but postgresql_fact does truncate in between test and not plain old destroy/create dance the other does).
From:
my_postgresql = factories.postgresql(
to:
my_postgresql = postgresql_fact(