Pytest-redis

Latest version: v3.0.2

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

Scan your dependencies

Page 2 of 3

2.1.1

=====

Misc
----

- Rise more informative error when the unixsocket is too long. Now the error
will hint at solution how to overcome it. This might be issue especially on
MacOS, where the default temp folder is already a long path

2.1.0

=====

Features
--------

- Rely on tmpdir_factory for handling tmpdirs. Now it's cleanup should
be handled better without much of the leftovers dangling indefinitely
in the tmp directory.
- Store pidfile in fixture's temporary directory
- Support only python 3.7 and up

Backward incompatibilities
--------------------------

- Dropped `--redis-logsdir` command line option, `redis_logsdir` ini file
configuration option and `logsdir` fixture factory configuration option.
Logs will be automatically placed in fixture's temporary directory.
- Dropped `logs_prefix` argument from fixture factory argument

2.0.0

=====

- [feature] ability to properly connect to already existing postgresql server using ``redis_nooproc`` fixture.
- [enhancement] dropped support for python 2.7

1.3.2

=====

- [bugfix] - close file descriptor when reading redis version (by brunsgaard)

1.3.1

=====

- [bugfix] do not run redis explicitly with shell=True

1.3.0

=====

- [enhancement] RedisExecutor now provides attribute with path to unixsocket
- [enhancement] redis client fixture now connects to redis through unixsocket by default
- [enhancement] Version check got moved to executor, to be run just before starting Redis Server
- [feature] ability to configure decode_responses for redis client in command line, pytest.ini or factory argument.
- [bugfix] set decode_responses to False, same as StrictRedis default
- [enhancement] ability to change decode_responses value

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.