BSD Ports

databases/py-fakeredis 2.27.0 DragonFly

Fake version of databases/py-redis for unit testing

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE, MIT
Categories
databases, python
Package size
254.4 KiB, 1707.7 KiB installed

Description

fakeredis is a pure Python implementation of the redis-py python client that simulates talking to a redis server. This was created for a single purpose: to write unittests. Setting up redis is not hard, but many times you want to write unittests that do not talk to an external server (such as redis). This module now allows tests to simply use this module as a reasonable substitute for redis.

In the other systems

SystemPortVersion
DragonFlydatabases/py-fakeredis2.27.0
FreeBSDdatabases/py-fakeredis2.38.0
MidnightBSDdatabases/py-fakeredis2.36.2
HardenedBSDdatabases/py-fakeredis2.38.0
GhostBSDdatabases/py-fakeredis2.38.0

Install

Binary package:

pkg install py311-fakeredis

From DPorts:

cd /usr/dports/databases/py-fakeredis && make install clean

Dependencies

Run dependencies 3

No port depends on this one.