summaryrefslogtreecommitdiff
path: root/tests/server_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server_commands.py')
-rw-r--r--tests/server_commands.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/server_commands.py b/tests/server_commands.py
index fb2accc..9c0ee4f 100644
--- a/tests/server_commands.py
+++ b/tests/server_commands.py
@@ -9,6 +9,7 @@ from redis._compat import (unichr, u, b, ascii_letters, iteritems, dictkeys,
from redis.client import parse_info
import redis
+
class ServerCommandsTestCase(unittest.TestCase):
def get_client(self, cls=redis.Redis):
return cls(host='localhost', port=6379, db=9)
@@ -1319,8 +1320,11 @@ class ServerCommandsTestCase(unittest.TestCase):
d = {'a': 1, 'b': 2, 'c': 3}
self.assert_(self.client.hmset('foo', d))
self.assertEqual(
- self.client.hmget('foo', ['a', 'b', 'c']), [b('1'), b('2'), b('3')])
- self.assertEqual(self.client.hmget('foo', ['a', 'c']), [b('1'), b('3')])
+ self.client.hmget('foo', ['a', 'b', 'c']), [b('1'), b('2'), b('3')]
+ )
+ self.assertEqual(
+ self.client.hmget('foo', ['a', 'c']), [b('1'), b('3')]
+ )
# using *args type args
self.assertEquals(self.client.hmget('foo', 'a', 'c'), [b('1'), b('3')])