jamesls/fakeredis — pull request #15 by msabramo (2012-11-15 07:55:42+00:00)
Title: Make hset of existing key return 0

As running the included test against real Redis illustrates, doing HSET with an existing key returns 0 rather than 1.

I added a test for this condition and then changed the `hset` method to conform to this.