Pytest-mysql

Latest version: v3.0.0

Safety actively analyzes 682416 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

2.3.0

=====

Features
--------

- Import FixtureRequest from pytest, not private _pytest.
Require at least pytest 6.2
- Replace tmpdir_factory with tmp_path_factory

Docs
----

- List mysql_noproc in README's fixtures list

Fixes
-----

- Database cleanup code will attempt to reconnect to mysql if test accidentally would close the connection

2.2.0

=====

Features
--------

- add `user` option to setup and tear down mysql process as non-privileged

Misc
----

- Add Python 3.10 to CI

2.1.0

=====

Features
--------

- `mysql_noproc` fixture to connect to already running mysql server
- raise more meaningful error when the test database already exists

Misc
----

- rely on `get_port` functionality delivered by `port_for`


Deprecation
-----------

- Deprecated `mysql_logsdir` ini configuration and `--mysql-logsdir` command option
- Deprecated `logs_prefix` process fixture factory setting

Misc
----

- Require minimum python 3.7
- Migrate CI to Github Actions

2.0.3

=====

- [enhancement] Do not assume that mysql executables are in /usr/bin

2.0.2

=====

- [enhancement] Preemptively read data after each test in mysql client fixture.
This will make test run if the test itself forgot to fetch queried data.
- [enhnacement] Require at least mirakuru 2.3.0 - forced by changed stop method parameters change

2.0.1

=====

- [fix] Improved mysql version detection on osx
- [build] extracted xdist into separate stage on travis
- [build] have deployemt as separate stage on travis

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.