Mock implementation of aioredis
Project description
Mock library to replace aioredis during unit tests
mockaioredis is to aioredis what the mockredispy library is to plain redis-py. It uses the mockredispy library and wraps it in the asyncio magic required to work like aioredis.
Uses the new async
keyword for Python 3.5, so no 3.4 support.
Beware: This is an early alpha that isn't even close to API-complete. In fact, so far it only supports the limited set of calls I needed for another project. Eventually, as I use more and more aioredis calls in my other projects, this mock layer will be fleshed out more.
Installation
You can install mockaioredis
from PYPI by running pip install mockaioredis
.
If you want to update an existing install, run pip install --update mockaioredis
.
You can also clone this repository from github and run pip install .
from the repository base directory.
License
Like mockredispy, mockaioredis is licensed under the Apache License, Version 2.0.
See LICENSE
for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mockaioredis-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eaeb27ffb8e3a92dc9cabb01183c02709e0bf4a91f0015a720188038a689f29 |
|
MD5 | 87d371f112f9c19de55a8ef81a6f5d88 |
|
BLAKE2b-256 | 02c2a76c61a30a7dd5a405777252a42cf474a23f5e27dd7b02f948b4088daf3d |