Databases fixtures plugin for py.test.
Pytest dbfixtures was a pytest plugin that makes it a lot easier to set up proper database or storage engine for testing.
As of version 1.0.0 every process fixture got moved into it’s own pytest plugin for easier maintenance, and pytest-dbfixture itself got converted into metapacakge.
List of packages:
Please see individual packages on hot to use them, although their usage is pretty similar.
[feature] make it easier to support future postgresql out of the box
[feature] support for postgresql 9.5
[docs] add contribute guidelines
[feature] add info about minimal version supported - closes #132
[enhancements] - moved source code into src folder
[feature] python3.5 compatibility
[docs] enhance docs - refs #126
[feature] PGsql connection error on FreeBSD jailed environments
In FreeBSD jailed environments the loopback interface can not be used to connect to pgsql, because it points to the loopback interface of the host and not the jail.
Thus, it seems to pgsql like the connection is comming from the ip address assigned to the jail.
This ensures that pgsql can be connected to from any host, when run on a FreeBSD systems. This this package can be used in FreeBSD jailed environments
[feature] Use log destination param for pgsql
This commit ensures that stderr is used for logging, by specifying the command line parameter.
On FreeBSD this is very important otherwise syslog will be used and the db-fixtures will hang as it looks in the expected log file and loops forever waiting for a “database is ready” entry to appear… log_destination=stderr is default on most systems and can be set in postgresql.conf or given as an command line argument.
Use port number in default RabbitMQ node name.
This allows using just the port=’?’ argument to rabbitmq_proc to run multiple independent RabbitMQ instances for use with xdist to parallelize tests on a single machine.
Old versions of Redis notification
displays a message about old version of redis