summaryrefslogtreecommitdiff
path: root/doctests/string_set_get.py
diff options
context:
space:
mode:
Diffstat (limited to 'doctests/string_set_get.py')
-rw-r--r--doctests/string_set_get.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/doctests/string_set_get.py b/doctests/string_set_get.py
index b7801e0..f7dfda1 100644
--- a/doctests/string_set_get.py
+++ b/doctests/string_set_get.py
@@ -5,16 +5,16 @@ import redis
r = redis.Redis(host="localhost", port=6379, db=0, decode_responses=True)
# HIDE_END
-res = r.set("foo", "bar")
+res = r.set("bike:1", "Process 134")
print(res)
# >>> True
# REMOVE_START
assert res
# REMOVE_END
-res = r.get("foo")
+res = r.get("bike:1")
print(res)
-# >>> "bar"
+# >>> "Process 134"
# REMOVE_START
-assert res == "bar"
+assert res == "Process 134"
# REMOVE_END