summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2015-02-13 18:26:53 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2015-02-13 18:26:53 -0800
commita0f0bc7db6e5cd98b433e33d9ff6903238042921 (patch)
tree2940064f98107d8b650b4c1bdc2f6385282c462e
parent1a54d04a424ce5e8a6129957e9ceadd8d7b7b6b1 (diff)
downloadzake-a0f0bc7db6e5cd98b433e33d9ff6903238042921.tar.gz
Result from command() should be regular string, not bytes
-rw-r--r--zake/tests/test_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/zake/tests/test_client.py b/zake/tests/test_client.py
index 3329cd9..b1b2172 100644
--- a/zake/tests/test_client.py
+++ b/zake/tests/test_client.py
@@ -76,7 +76,7 @@ class TestClient(test.Test):
def test_command(self):
with start_close(self.client) as c:
self.assertTrue(c.connected)
- self.assertEqual(b"imok", c.command(b'ruok'))
+ self.assertEqual("imok", c.command(b'ruok'))
self.client.command('kill')
self.assertFalse(c.connected)