
Research
Security News
The Landscape of Malicious Open Source Packages: 2025 Mid‑Year Threat Report
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
.. image:: https://img.shields.io/pypi/v/pytest-dbfixtures.svg :target: https://pypi.python.org/pypi/pytest-dbfixtures/ :alt: Latest PyPI version
.. image:: https://readthedocs.org/projects/pytest-dbfixtures/badge/?version=v1.0.0 :target: http://pytest-dbfixtures.readthedocs.org/en/v1.0.0/ :alt: Documentation Status
.. image:: https://img.shields.io/pypi/wheel/pytest-dbfixtures.svg :target: https://pypi.python.org/pypi/pytest-dbfixtures/ :alt: Wheel Status
.. image:: https://img.shields.io/pypi/pyversions/pytest-dbfixtures.svg :target: https://pypi.python.org/pypi/pytest-dbfixtures/ :alt: Supported Python Versions
.. image:: https://img.shields.io/pypi/l/pytest-dbfixtures.svg :target: https://pypi.python.org/pypi/pytest-dbfixtures/ :alt: License
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:
pytest-elasticsearch <https://pypi.python.org/pypi/pytest-elasticsearch/>
_pytest-postgresql <https://pypi.python.org/pypi/pytest-postgresql/>
_pytest-dynamodb <https://pypi.python.org/pypi/pytest-dynamodb/>
_pytest-rabbitmq <https://pypi.python.org/pypi/pytest-rabbitmq/>
_pytest-mysql <https://pypi.python.org/pypi/pytest-mysql/>
_pytest-redis <https://pypi.python.org/pypi/pytest-redis/>
_pytest-mongo <https://pypi.python.org/pypi/pytest-mongo/>
_Please see individual packages on hot to use them, although their usage is pretty similar.
pytest-redis <https://pypi.python.org/pypi/pytest-redis/>
_pytest-rabbitmq <https://pypi.python.org/pypi/pytest-rabbitmq/>
_pytest-mysql <https://pypi.python.org/pypi/pytest-mysql/>
_pytest-dynamodb <https://pypi.python.org/pypi/pytest-dynamodb/>
_pytest-postgresql <https://pypi.python.org/pypi/pytest-postgresql/>
_pytest-mongo <https://pypi.python.org/pypi/pytest-mongo/>
_pytest-elasticsearch <https://pypi.python.org/pypi/pytest-elasticsearch/>
_[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.
Read more <http://www.postgresql.org/docs/9.1/static/runtime-config-logging.html>
_
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
FAQs
Databases fixtures plugin for py.test.
We found that pytest-dbfixtures demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.