ericrasmussen/pyramid_redis_sessions — pull request #11 by jayd3e (2013-01-22 04:15:10+00:00)
Title: Check it Out

I tried a number of different things. It took me so long, b/c it seems that all calls to DummyRequest() end up using the same registry, and I kept running into issues with that. I added Mock on as a dependency, so I could mock out the Redis class. I would almost recommend using Mock for all of the tests, but I couldn't grok them enough to the point where I could do that myself. The tests that I added should accurately test the changes I made, while keeping all of the other tests the same.