summaryrefslogtreecommitdiff
path: root/tests/server_commands.py
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2013-04-22 14:36:54 -0700
committerAndy McCurdy <andy@andymccurdy.com>2013-04-22 14:36:54 -0700
commit441ac15a3f8c2968ae7de0990703ee44c7d24f09 (patch)
treee5f71e2949d269019c6e09f7ee9fdcf92d2e4227 /tests/server_commands.py
parentcd3ccbaacd7733f135d1d8ef3ed8b45110d00268 (diff)
parent12f2e4fcd8153fb4ea9dc00ac79385b1059fb47a (diff)
downloadredis-py-441ac15a3f8c2968ae7de0990703ee44c7d24f09.tar.gz
Merge pull request #327 from pabelanger/pep8
Format code per pep8 guidelines
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 7f8012b..17adcf8 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)
@@ -1329,8 +1330,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')])