<div dir="ltr">On Tue, Aug 6, 2013 at 2:33 PM, Benjamin BERTRAND <span dir="ltr"><<a href="mailto:beenje@gmail.com" target="_blank">beenje@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><br></div><div>I guess it's possible to use a synthetic transport, but that wouldn't help much without a "fake" redis server.</div>
<div>That would indeed be nice to have for testing.</div><div><br></div><div>I actually just found a dummy txredis client that implements everything internally for testing: <a href="https://github.com/williamsjj/dummy-txredis" target="_blank">https://github.com/williamsjj/dummy-txredis</a></div>
<div>Might be worth looking at.</div><div>But I wonder if implementing a basic redis server with twisted (for testing purpose) wouldn't be nicer?</div></div></div></blockquote><div><br></div><div>What exactly are you testing? Are you testing communication with redis, or are you testing how you handle the data from redis? If the latter, why not just use a mock?</div>
<div><br></div><div>Piper</div></div></div></div>