aio-libs / aiopg

aiopg is a library for accessing a PostgreSQL database from the asyncio
http://aiopg.readthedocs.io
BSD 2-Clause "Simplified" License
1.4k stars 160 forks source link

extract conftest and create pytest-aiopg? #565

Open matrixise opened 5 years ago

vir-mir commented 5 years ago

what for? I do not see any useful uses for this.

matrixise commented 5 years ago

For example, when you create a new web service, sometimes, you want to test the migration or some parts of your code with the database, your conftest.py is really useful and avoid to another dev to rewrite the same code for his/her application.

vir-mir commented 5 years ago

The case is interesting. but he will be rigidly attached to the docker. I don’t know how correct it is.