summaryrefslogtreecommitdiff
path: root/tests/test_commands.py
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2018-12-27 23:58:40 -0800
committerAndy McCurdy <andy@andymccurdy.com>2018-12-27 23:58:40 -0800
commit4ae98e7de18f16fb669b74ee09245ff4de3da0b4 (patch)
treea3e5b9fde052f2f9f3a2d7a0207a0951ef7b071c /tests/test_commands.py
parent0edfc3d252f4b7f0f38eb408f90e8cbcab8fd683 (diff)
downloadredis-py-4ae98e7de18f16fb669b74ee09245ff4de3da0b4.tar.gz
Encode Stream message names within XREAD and XREADGROUP responses correctly
Stream message now respect the decode_responses flag.
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r--tests/test_commands.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index a269ca7..566437d 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -2124,7 +2124,7 @@ class TestRedisCommands(object):
expected = [
[
- stream,
+ stream.encode(),
[
get_stream_message(r, stream, m1),
get_stream_message(r, stream, m2),
@@ -2136,7 +2136,7 @@ class TestRedisCommands(object):
expected = [
[
- stream,
+ stream.encode(),
[
get_stream_message(r, stream, m1),
]
@@ -2147,7 +2147,7 @@ class TestRedisCommands(object):
expected = [
[
- stream,
+ stream.encode(),
[
get_stream_message(r, stream, m2),
]
@@ -2170,7 +2170,7 @@ class TestRedisCommands(object):
expected = [
[
- stream,
+ stream.encode(),
[
get_stream_message(r, stream, m1),
get_stream_message(r, stream, m2),
@@ -2185,7 +2185,7 @@ class TestRedisCommands(object):
expected = [
[
- stream,
+ stream.encode(),
[
get_stream_message(r, stream, m1),
]