diff options
Diffstat (limited to 'tests/server_commands.py')
-rw-r--r-- | tests/server_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server_commands.py b/tests/server_commands.py index e90d680..99b99d7 100644 --- a/tests/server_commands.py +++ b/tests/server_commands.py @@ -767,7 +767,7 @@ class ServerCommandsTestCase(unittest.TestCase): self.assertRaises(redis.ResponseError, self.client.hgetall, 'a') del self.client['a'] # no key - self.assertEquals(self.client.hgetall('a'), None) + self.assertEquals(self.client.hgetall('a'), {}) # real logic h = {'a1': '1', 'a2': '2', 'a3': '3'} self.make_hash('a', h) |