A set of tests exploring PostgreSQL transactions and Django
Database access in usually from separate threads so it's not in the transaction that pytest-django starts.
In one session run
docker run --rm -it -p 5432:5432 postgres:10.1
and then another
pip install -r ./requirements.txt
./test.sh