Closed jsnb closed 4 years ago
Changes:
Adds a new flag --pg-conf-opt to update postgres configs. I needed this to enable the track_commit_timestamp config. Code was effectively copied from the suggestion in this old issue: https://github.com/CloverHealth/pytest-pgsql/issues/11
--pg-conf-opt
track_commit_timestamp
Small change to the clean_db fixture to avoid deprecated usage of direct fixtures (https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly)
clean_db
Note: Upgraded the Circle config.yaml to circle v2.0 Had to uncheck this setting in the repo settings: https://circleci.com/docs/2.0/workflows/#workflows-waiting-for-status-in-github
Changes:
Adds a new flag
--pg-conf-opt
to update postgres configs. I needed this to enable thetrack_commit_timestamp
config. Code was effectively copied from the suggestion in this old issue: https://github.com/CloverHealth/pytest-pgsql/issues/11Small change to the
clean_db
fixture to avoid deprecated usage of direct fixtures (https://docs.pytest.org/en/latest/deprecations.html#calling-fixtures-directly)Note: Upgraded the Circle config.yaml to circle v2.0 Had to uncheck this setting in the repo settings: https://circleci.com/docs/2.0/workflows/#workflows-waiting-for-status-in-github