Thoughts from a random software engineer


Mocking Redis & Expiration in Python

Code, Tests, Python, Redis · Published the 08 Oct 17
1062 words · 5 min read
Recently, I had to use Redis for the first time. I heard of it, but never really played with it. But this time I had no choice, and I don’t regret it at all, Redis is awesome. But having a new component means that I had to discover from scratch how to test it. I tried a few libraries, but one seemed really easy to use, at least to the point where I wanted to test that I was correctly using the expiration time for my data.
Read more →