diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-02-13 18:29:32 -0800 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-02-13 18:29:34 -0800 |
commit | 9737c58989129320259b1a800498ffe65323b126 (patch) | |
tree | 3bac65b8742196425e014465596a31c6df70efe2 | |
parent | a0f0bc7db6e5cd98b433e33d9ff6903238042921 (diff) | |
download | zake-9737c58989129320259b1a800498ffe65323b126.tar.gz |
Ensure kill command is sent as byte string
-rw-r--r-- | zake/tests/test_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zake/tests/test_client.py b/zake/tests/test_client.py index b1b2172..439da22 100644 --- a/zake/tests/test_client.py +++ b/zake/tests/test_client.py @@ -77,7 +77,7 @@ class TestClient(test.Test): with start_close(self.client) as c: self.assertTrue(c.connected) self.assertEqual("imok", c.command(b'ruok')) - self.client.command('kill') + self.client.command(b'kill') self.assertFalse(c.connected) def test_command_version(self): |