summaryrefslogtreecommitdiff
path: root/tests/server_commands.py
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2010-03-16 13:32:08 -0700
committerAndy McCurdy <andy@andymccurdy.com>2010-03-16 13:32:08 -0700
commit5723a5468c4c168e798cecd72d21922f9c53d2e8 (patch)
treef2965ba200135169b9b4d6392fe577fbbf564b59 /tests/server_commands.py
parentdbaef302fb95da2f4d30e5449891fc72eb0942d7 (diff)
downloadredis-py-5723a5468c4c168e798cecd72d21922f9c53d2e8.tar.gz
fix for #18 -- i had copy/pasted some code from another function and forgot to actually change it! thanks to Sam (SJD) for the bug report
Diffstat (limited to 'tests/server_commands.py')
-rw-r--r--tests/server_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server_commands.py b/tests/server_commands.py
index 53f6ecf..4d0fa20 100644
--- a/tests/server_commands.py
+++ b/tests/server_commands.py
@@ -736,7 +736,7 @@ class ServerCommandsTestCase(unittest.TestCase):
# no key
self.assertEquals(self.client.hgetall('a'), None)
# real logic
- h = {'a1': 1, 'a2': 2, 'a3': 3}
+ h = {'a1': '1', 'a2': '2', 'a3': '3'}
self.make_hash('a', h)
remote_hash = self.client.hgetall('a')
self.assertEquals(h, remote_hash)