The key to get.
The new value to store.
redis.set("key", "old-value")assert redis.getset("key", "newvalue") == "old-value"