Attumm / redis-dict

Python dictionary with Redis as backend, built for large datasets. Simplifies Redis operations for large-scale and distributed systems. Supports various data types, namespacing, pipelining, and expiration.
https://attumm.github.io/redis-dict/
MIT License
53 stars 14 forks source link

RedisDict unittests and fixes #3

Closed Mark90 closed 7 years ago

Mark90 commented 7 years ago

This PR proposes to add unittests for RedisDict's functions. They don't yet exhaust all ways that the functions can/should be tested, but it's a start.

As I wrote the tests some bugs came to light. Fixes for them have been added in separate commits after the unittests that exposed them. So if you want to reproduce the same scenario, you could checkout before the bugfix commit.