jeancochrane / jeancochrane/pytest-flask-sqlalchemy
Deprecated functions from pytest-posgresql?
- Dominant language
- Python
- Stars
- 253
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
I'm looking at the [configuration example](https://github.com/jeancochrane/pytest-flask-sqlalchemy#configuration), which seems to be an extract from [_confest.py](https://github.com/jeancochrane/pytest-flask-sqlalchemy/blob/master/tests/_conftest.py#L25-L61). In _conftest.py you `from pytest_postgresql.factories import (init_postgresql_database, drop_postgresql_database)`. I'm not sure if I'm supposed to `pip install pytest-postgresql` myself but, in any case, I'm wondering about `init_postgresql_database` and `drop_postgresql_database`. These 2 functions are apparently deprecated in [pytest-postgresql 2.1.0](https://pypi.org/project/pytest-postgresql/), released on September 10, 2019. Does the configuration example need updating or am I just off track here?
Thanks
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the configuration example and tests/_conftest.py at lines 25-61, then compare the imported functions with the pytest-postgresql 2.1.0 documentation. Verify whether the example and fixture setup still use supported APIs, and consider the work complete when the documented configuration is current and the related tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, postgresql, python, sqlalchemy
- Domain
- databases, documentation, testing
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100