Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixtures: Make
pgtest
truly an optional dependency (#6502)
The pytest fixtures were improved to allow running with a `core.sqlite_dos` storage for the test profile, making PostgreSQL completely optional. However, the current fixture still imports the `pgtest` package at module level making it a requirement, despite it only being relevant when running the tests with a `core.psql_dos` storage plugin. Here the import is moved inside the `PostgresCluster._create` method which is only called when the test suite actually uses a PSQL based storage plugin.
- Loading branch information