summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandy <andy@whiskeymedia.com>2013-06-04 15:26:59 -0400
committerandy <andy@whiskeymedia.com>2013-06-04 15:26:59 -0400
commit134e8e0c0e666a919cab47f1a7adffff9ba4ce7e (patch)
tree0dc44ca97c613e5ca160368ef24fab0db04076ab
parent58e6ebfcbce165d1170f01f64e525ce3e9fba9eb (diff)
downloadredis-py-134e8e0c0e666a919cab47f1a7adffff9ba4ce7e.tar.gz
pep8
-rw-r--r--tests/server_commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/server_commands.py b/tests/server_commands.py
index 7dcc221..a9882ba 100644
--- a/tests/server_commands.py
+++ b/tests/server_commands.py
@@ -127,7 +127,8 @@ class ServerCommandsTestCase(unittest.TestCase):
self.client.ping()
self.assert_(int(self.client.info()['total_commands_processed']) > 1)
self.client.config_resetstat()
- self.assertEquals(int(self.client.info()['total_commands_processed']), 1)
+ command_count = int(self.client.info()['total_commands_processed'])
+ self.assertEquals(command_count, 1)
def test_debug_object(self):
self.client['a'] = 'foo'