[tor-commits] [stem/master] Accounting for GetInfoResponse entries having bytes
atagar at torproject.org
atagar at torproject.org
Thu Jun 13 16:50:53 UTC 2013
commit 2b634a98e16c3b2437cab27c7198acd6a738fd13
Author: Damian Johnson <atagar at torproject.org>
Date: Thu Jun 13 09:30:07 2013 -0700
Accounting for GetInfoResponse entries having bytes
Oops. I forgot to update this test when we switched the entries attribute to
bytes in commit a94f1f0.
---
test/unit/response/control_message.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/unit/response/control_message.py b/test/unit/response/control_message.py
index 33b2008..435bed7 100644
--- a/test/unit/response/control_message.py
+++ b/test/unit/response/control_message.py
@@ -42,7 +42,7 @@ class TestControlMessage(unittest.TestCase):
msg = stem.response.ControlMessage.from_str(GETINFO_VERSION, "GETINFO")
self.assertTrue(isinstance(msg, stem.response.getinfo.GetInfoResponse))
- self.assertEqual({'version': '0.2.2.23-alpha (git-b85eb949b528f4d7)'}, msg.entries)
+ self.assertEqual({'version': b'0.2.2.23-alpha (git-b85eb949b528f4d7)'}, msg.entries)
def test_ok_response(self):
"""
More information about the tor-commits
mailing list