Permalink
Browse files

Fix test on repr after moving to list for self.endpoints.

  • Loading branch information...
smira committed Feb 26, 2012
1 parent 1f3e90a commit 519e80d2f197ffeac8a7ce68a655faadf8ff2f9d
Showing with 1 addition and 1 deletion.
  1. +1 −1 txzmq/test/test_connection.py
@@ -50,7 +50,7 @@ def test_init(self):
def test_repr(self):
expected = ("ZmqTestReceiver(ZmqFactory(), "
- "(ZmqEndpoint(type='bind', address='inproc://#1'),))")
+ "[ZmqEndpoint(type='bind', address='inproc://#1')])")
result = ZmqTestReceiver(
self.factory, ZmqEndpoint(ZmqEndpointType.bind, "inproc://#1"))
self.failUnlessEqual(expected, repr(result))

0 comments on commit 519e80d

Please sign in to comment.