guilleiguaran/fakeredis — pull request #118 by macb (2014-08-29 05:05:38+00:00)
Title: Correct SETNX to return 0/1 as per redis docs

As per the comments on https://github.com/guilleiguaran/fakeredis/pull/110

And here are the docs for easy reference: http://redis.io/commands/setnx